68b092e4b8
11a887ec-cli-disk-Add-driver.metadata_cache-options.patch 7295ebfb-tests-cli-Fix-test-output-after-previous-commit.patch 58f5e36d-fsdetails-Fix-an-error-with-source.socket-of-virtiofs.patch c22a876e-tests-Add-a-compat-check-for-linux2020-in-amd-sev-test-case.patch fbdf0516-cli-cpu-Add-maxphysaddr.mode-bits-options.patch b0d05167-cloner-Sync-uuid-and-sysinfo-system-uuid.patch 999ccb85-virt-install-unattended-and-cloud-init-conflict.patch OBS-URL: https://build.opensuse.org/package/show/Virtualization/virt-manager?expand=0&rev=579
19 lines
839 B
Diff
19 lines
839 B
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-4.1.0/virtinst/guest.py
|
|
===================================================================
|
|
--- virt-manager-4.1.0.orig/virtinst/guest.py
|
|
+++ virt-manager-4.1.0/virtinst/guest.py
|
|
@@ -797,6 +797,10 @@ class Guest(XMLBuilder):
|
|
self._add_default_tpm()
|
|
|
|
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:
|