mirror of
https://github.com/virt-manager/virt-manager.git
synced 2025-01-12 09:18:00 +03:00
domain: Stop using UPDATE_CPU xml flag
Now that feature UI is gone, it doesn't do us any good. And actually can cause issues if changing from host-model to a static model.
This commit is contained in:
parent
c85e8d84d0
commit
021ffd17e2
@ -548,13 +548,6 @@ class vmmConnection(vmmGObject):
|
||||
else:
|
||||
logging.debug("Domain XML secure flag not supported.")
|
||||
|
||||
if self.check_support(
|
||||
self._backend.SUPPORT_DOMAIN_CPU_HOST_MODEL, vm):
|
||||
inact |= libvirt.VIR_DOMAIN_XML_UPDATE_CPU
|
||||
act |= libvirt.VIR_DOMAIN_XML_UPDATE_CPU
|
||||
else:
|
||||
logging.debug("Domain XML update flag not supported.")
|
||||
|
||||
return inact, act
|
||||
|
||||
return self._get_flags_helper(vm, key, check_func)
|
||||
|
Loading…
Reference in New Issue
Block a user