create: Fix non-x86 qemu/kvm guest creation

This commit is contained in:
Cole Robinson 2014-02-17 10:24:41 -05:00
parent 0169042c1e
commit a37b200f69

View File

@ -1376,7 +1376,8 @@ class vmmCreate(vmmGObjectUI):
guest.add_default_devices() guest.add_default_devices()
if self.conn.check_support(self.conn.SUPPORT_CONN_PM_DISABLE): if (guest.os.is_x86() and
self.conn.check_support(self.conn.SUPPORT_CONN_PM_DISABLE)):
guest.pm.suspend_to_mem = False guest.pm.suspend_to_mem = False
guest.pm.suspend_to_disk = False guest.pm.suspend_to_disk = False