0b51f8ff5d
(TOCTOU) race condition Resolved by upgrade to version 4.0.0 (jsc#SLE-16582) virt-manager-4.0.0.tar.gz - Other features and bug fixes (bsc#1027942) virt-install –os-variant/–osinfo is now a hard requirement for most cases Add ‘Enable shared memory’ UI checkbox (Lin Ma) add UI preference to default to UEFI for new VMs (Charles Arnold) Add virtiofs filesystem driver UI option Fill in all –cputune, –cpu, –shmem, –input, and –boot suboptions (Hugues Fafard) virt-* mdev improvements (Shalini Chellathurai Saroja) bhyve improvments (Roman Bogorodskiy) Revive network portgroup UI enable a TPM by default when UEFI is used (Daniel P. Berrangé) Use cpu host-passthrough by default on qemu x86 use virtio-gpu video for most modern distros Default to extra pcie root ports for q35 set discard=unmap by default for sparse disks and block devices We now require xorissofs for –location ISO We now use setuptools rather than just plain distutils - Add virtman-revert-use-of-AyatanaAppIndicator3.patch OBS-URL: https://build.opensuse.org/package/show/Virtualization/virt-manager?expand=0&rev=558
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.0.0/virtinst/guest.py
|
|
===================================================================
|
|
--- virt-manager-4.0.0.orig/virtinst/guest.py
|
|
+++ virt-manager-4.0.0/virtinst/guest.py
|
|
@@ -778,6 +778,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:
|