mirror of
https://github.com/virt-manager/virt-manager.git
synced 2025-02-25 18:55:27 -06:00
domain: invalidate domain caps if machine type is changed
This forces to reload domain capabilities. Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1461684 Signed-off-by: Pavel Hrdina <phrdina@redhat.com>
This commit is contained in:
parent
8e0303059e
commit
fd420fdacd
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user