898a7107e7
configuration: unknown driver format value 'block' virtinst-xen-drive-type.patch - bnc#868200 - Unable to complete install: "NoneType' object has no attribute '__getitem__" virtinst-detect-suse-distros.patch - For Xen always have the arch expander expanded. - For Xen and KVM default to Network install if host was installed from the network - Default to a bridge with an actual inet address if available virtinst-modify-gui-defaults.patch - We are not supporting PV ISO installs with virt-install. Drop the following patches virtinst-allow-pv-iso-install.patch virtman-allow-pv-iso-install.patc - Upstream bug fixes 5321d3cd-virtinst-drop-cpu_map-parsing-of-arch-features.patch 5321d3d0-virtinst-drop-parsing-of-cpu-features.patch 5321f256-virtinst-use-libvirt-getCPUModelNames.patch 532255b4-unselect_all-members-before-clear-model.patch OBS-URL: https://build.opensuse.org/package/show/Virtualization/virt-manager?expand=0&rev=152
29 lines
984 B
Diff
29 lines
984 B
Diff
Reference: bnc#813082
|
|
|
|
Index: virt-manager-1.0.0/virtinst/devicedisk.py
|
|
===================================================================
|
|
--- virt-manager-1.0.0.orig/virtinst/devicedisk.py
|
|
+++ virt-manager-1.0.0/virtinst/devicedisk.py
|
|
@@ -558,6 +558,12 @@ class VirtualDisk(VirtualDevice):
|
|
return None
|
|
if self.conn.is_qemu():
|
|
return self.DRIVER_QEMU
|
|
+ else:
|
|
+ drvtypes = ['qcow2', 'vmdk']
|
|
+ if self.type in drvtypes:
|
|
+ return 'tap'
|
|
+ else:
|
|
+ return self.DRIVER_QEMU
|
|
return None
|
|
|
|
def _get_default_driver_type(self):
|
|
@@ -571,6 +577,8 @@ class VirtualDisk(VirtualDevice):
|
|
http://lists.gnu.org/archive/html/qemu-devel/2008-04/msg00675.html
|
|
"""
|
|
if self.driver_name != self.DRIVER_QEMU:
|
|
+ if self.driver_name and self.type != 'file':
|
|
+ return self.type
|
|
return None
|
|
|
|
if self._storage_creator:
|