ae026a575b
* Merged code with python-virtinst. virtinst is no longer public * Port from GTK2 to GTK3 (Daniel Berrange, Cole Robinson) * Port from gconf to gsettings * Port from autotools to python distutils * Remove virt-manager-tui * Remove HAL support * IPv6 and static route virtual network support (Gene Czarcinski) * virt-install: Add –cpu host-passthrough (Ken ICHIKAWA, Hu Tao) OBS-URL: https://build.opensuse.org/package/show/Virtualization/virt-manager?expand=0&rev=129
19 lines
789 B
Diff
19 lines
789 B
Diff
Reference: bnc#813082
|
|
|
|
Index: virt-manager-0.10.0/virtinst/VirtualDisk.py
|
|
===================================================================
|
|
--- virt-manager-0.10.0.orig/virtinst/VirtualDisk.py
|
|
+++ virt-manager-0.10.0/virtinst/VirtualDisk.py
|
|
@@ -1177,6 +1177,11 @@ class VirtualDisk(VirtualDevice):
|
|
if drvname == self.DRIVER_QEMU:
|
|
drvtype = _qemu_sanitize_drvtype(self.type, self.format,
|
|
manual_format=True)
|
|
+ else:
|
|
+ drvtype = self.format
|
|
+ drvtypes = ['qcow2', 'vmdk']
|
|
+ if drvtype in drvtypes and drvname is None:
|
|
+ drvname = 'tap'
|
|
|
|
elif self.vol_object:
|
|
fmt = util.get_xml_path(self.vol_object.XMLDesc(0),
|