[virt-tools-list] [virt-manager PATCH] domain: invalidate domain caps if machine type is changed
Pavel Hrdina
phrdina at redhat.com
Tue Sep 19 08:41:34 UTC 2017
This forces to reload domain capabilities.
Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1461684
Signed-off-by: Pavel Hrdina <phrdina at redhat.com>
---
virtManager/domain.py | 1 +
1 file changed, 1 insertion(+)
diff --git a/virtManager/domain.py b/virtManager/domain.py
index da5a7c0f..6fb54bc7 100644
--- a/virtManager/domain.py
+++ b/virtManager/domain.py
@@ -680,6 +680,7 @@ class vmmDomain(vmmLibvirtObject):
guest = self._make_xmlobj_to_define()
if machine != _SENTINEL:
guest.os.machine = machine
+ self._domain_caps = None
if description != _SENTINEL:
guest.description = description or None
if title != _SENTINEL:
--
2.13.5
More information about the virt-tools-list
mailing list