mirror of
https://github.com/virt-manager/virt-manager.git
synced 2025-02-25 18:55:27 -06:00
create: Fix non-x86 qemu/kvm guest creation
This commit is contained in:
parent
0169042c1e
commit
a37b200f69
@ -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
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user