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
895 B
Diff
19 lines
895 B
Diff
References: bsc#989639
|
|
When the device added is a cdrom device (/dev/sr0), don't use
|
|
"phy" as the driver name but instead use "qemu".
|
|
|
|
Index: virt-manager-3.3.0/virtinst/devices/disk.py
|
|
===================================================================
|
|
--- virt-manager-3.3.0.orig/virtinst/devices/disk.py
|
|
+++ virt-manager-3.3.0/virtinst/devices/disk.py
|
|
@@ -525,7 +525,8 @@ class DeviceDisk(Device):
|
|
# Recommended xen defaults from here:
|
|
# https://bugzilla.redhat.com/show_bug.cgi?id=1171550#c9
|
|
# If type block, use name=phy. Otherwise do the same as qemu
|
|
- if self.conn.is_xen() and self.type == self.TYPE_BLOCK:
|
|
+ if self.conn.is_xen() and self.type == self.TYPE_BLOCK and not \
|
|
+ self.is_cdrom():
|
|
return self.DRIVER_NAME_PHY
|
|
if self.conn.support.conn_disk_driver_name_qemu():
|
|
return self.DRIVER_NAME_QEMU
|