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:
Cole Robinson 2014-01-31 10:48:45 -05:00
parent c85e8d84d0
commit 021ffd17e2

View File

@ -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)