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
20 lines
817 B
Diff
20 lines
817 B
Diff
Reference: bnc#813082
|
|
Virt-manager on Xen doesn't fill in any type thereby defaulting to
|
|
'raw'. This patch will generate the correct XML on Xen.
|
|
|
|
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
|
|
@@ -542,6 +542,10 @@ class DeviceDisk(Device):
|
|
https://lists.gnu.org/archive/html/qemu-devel/2008-04/msg00675.html
|
|
"""
|
|
if self.driver_name != self.DRIVER_NAME_QEMU:
|
|
+ if self.driver_name and \
|
|
+ self.driver_name != self.DRIVER_NAME_PHY and \
|
|
+ self.type != 'file':
|
|
+ return self.type
|
|
return None
|
|
|
|
drvtype = self._storage_backend.get_driver_type()
|