[virt-tools-list] [virt-manager PATCH] devicedisk: add qed in driver_types

Chen Hanxiao chenhanxiao at cn.fujitsu.com
Wed Dec 3 05:35:19 UTC 2014


We already used 'qed' in our codes,
but seems we forgot to add this in driver_types.

Signed-off-by: Chen Hanxiao <chenhanxiao at cn.fujitsu.com>
---
 virtinst/devicedisk.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/virtinst/devicedisk.py b/virtinst/devicedisk.py
index 1d764d9..bda37ec 100644
--- a/virtinst/devicedisk.py
+++ b/virtinst/devicedisk.py
@@ -158,8 +158,9 @@ class VirtualDisk(VirtualDevice):
     DRIVER_TAP_QCOW = "qcow"
     DRIVER_TAP_VMDK = "vmdk"
     DRIVER_TAP_VDISK = "vdisk"
+    DRIVER_TAP_QED = "qed"
     driver_types = [DRIVER_TAP_RAW, DRIVER_TAP_QCOW,
-        DRIVER_TAP_VMDK, DRIVER_TAP_VDISK]
+        DRIVER_TAP_VMDK, DRIVER_TAP_VDISK, DRIVER_TAP_QED]
 
     CACHE_MODE_NONE = "none"
     CACHE_MODE_WRITETHROUGH = "writethrough"
-- 
1.9.3




More information about the virt-tools-list mailing list