558728377c
f5d709d9-lang-it-1.patch c66098f3-lang-it-2.patch 452a693e-lang-update.patch 6b5106ea-lang-it-ko-fix.patch 9c8ffe51-fix-multiple-warnings-1.patch cb182f7e-skip-authentication-only-for-VNC-with-listen-type-none.patch 0610cd6a-ensure-bool-value-used-for-set_sensitive-call.patch f341352c-remove-redundant-error-string.patch ff3b4dc5-dont-overwrite-install-bootorder.patch 2099a194-reset-guest-domain-to-none-on-domain-creation-error.patch 7aee124d-fix-multiple-warnings-2.patch - Check for SLE15 and Leap 15 bsc#1035779 virtman-default-guest-from-host-os.patch OBS-URL: https://build.opensuse.org/package/show/Virtualization/virt-manager?expand=0&rev=348
27 lines
1.1 KiB
Diff
27 lines
1.1 KiB
Diff
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.
|
|
Index: virt-manager-1.4.1/virtinst/guest.py
|
|
===================================================================
|
|
--- virt-manager-1.4.1.orig/virtinst/guest.py
|
|
+++ virt-manager-1.4.1/virtinst/guest.py
|
|
@@ -817,14 +817,11 @@ class Guest(XMLBuilder):
|
|
self.emulator = None
|
|
return
|
|
|
|
- if self.emulator:
|
|
- return
|
|
-
|
|
if self.os.is_hvm() and self.type == "xen":
|
|
- if self.conn.caps.host.cpu.arch == "x86_64":
|
|
- self.emulator = "/usr/lib64/xen/bin/qemu-dm"
|
|
- else:
|
|
- self.emulator = "/usr/lib/xen/bin/qemu-dm"
|
|
+ # Force not using Xen's old qemu-dm except for remote
|
|
+ # connections where we don't know the Xen version
|
|
+ if not self.conn.is_remote() or not self.emulator:
|
|
+ self.emulator = "/usr/lib/xen/bin/qemu-system-i386"
|
|
|
|
def _set_cpu_defaults(self):
|
|
self.cpu.set_topology_defaults(self.vcpus)
|