[virt-tools-list] [virt-manager PATCH] devicedisk: add qed in driver_types
Cole Robinson
crobinso at redhat.com
Wed Dec 3 13:42:49 UTC 2014
On 12/03/2014 12:35 AM, Chen Hanxiao wrote:
> 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"
>
ACK
- Cole
More information about the virt-tools-list
mailing list