2019-06-04 00:07:43 +02:00
|
|
|
Use the correct qemu emulator based on the architecture.
|
|
|
|
We want to get away from using the old qemu-dm emulator
|
|
|
|
for Xen HVM guests so default to qemu-system-i386.
|
2020-09-16 19:23:41 +02:00
|
|
|
Index: virt-manager-3.0.0/virtinst/guest.py
|
2019-06-04 00:07:43 +02:00
|
|
|
===================================================================
|
2020-09-16 19:23:41 +02:00
|
|
|
--- virt-manager-3.0.0.orig/virtinst/guest.py
|
|
|
|
+++ virt-manager-3.0.0/virtinst/guest.py
|
|
|
|
@@ -727,6 +727,10 @@ class Guest(XMLBuilder):
|
2019-07-05 18:18:33 +02:00
|
|
|
self._add_default_memballoon()
|
2019-06-04 00:07:43 +02:00
|
|
|
|
|
|
|
self.clock.set_defaults(self)
|
|
|
|
+ if self.os.is_hvm() and self.type == "xen":
|
|
|
|
+ # Force not using Xen's old qemu-dm
|
|
|
|
+ if not self.emulator or "qemu-dm" in self.emulator:
|
|
|
|
+ self.emulator = "/usr/lib/xen/bin/qemu-system-i386"
|
|
|
|
self.cpu.set_defaults(self)
|
|
|
|
self.features.set_defaults(self)
|
|
|
|
for seclabel in self.seclabels:
|