domain: Don't define an empty CPU model

This commit is contained in:
Cole Robinson 2011-01-13 13:14:43 -05:00
parent 09f2851cd5
commit a592165568

View File

@ -316,7 +316,7 @@ class vmmDomainBase(vmmLibvirtObject):
# Since we don't expose this in the UI, have host value trump
# caps value
guest.cpu.vendor = vendor
guest.cpu.model = model
guest.cpu.model = model or None
return self._redefine_guest(change)
def define_both_mem(self, memory, maxmem):