Bug 854898

Summary: [RFE]Support qed format in virt-convert
Product: [Community] Virtualization Tools Reporter: Cui Lei <lcui>
Component: virt-managerAssignee: Cole Robinson <crobinso>
Status: CLOSED UPSTREAM QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: acathrow, berrange, crobinso, cwei, dallan, hyao, jwu, mzhan, tzheng
Target Milestone: ---Keywords: FutureFeature
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-02-07 16:59:49 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Cui Lei 2012-09-06 08:57:50 UTC
Description of problem:
qed format is support in libvirt. But in virt-convert, it is not support now.
If you convert a vmx format to qed disk format, error message would popup:
"virt-convert: error: Unknown output disk format "qed""

check the related code, ./site-packages/virtconv/diskcfg.py, there is no qed format supported in it.
disk_format_names = {
    "none": DISK_FORMAT_NONE,
    "raw": DISK_FORMAT_RAW,
    "vmdk": DISK_FORMAT_VMDK,
    "vdisk": DISK_FORMAT_VDISK,
    "qcow": DISK_FORMAT_QCOW,
    "qcow2": DISK_FORMAT_QCOW2,
    "cow": DISK_FORMAT_COW,
}


Version-Release number of selected component (if applicable):
python-virtinst-0.600.0-8.el6.noarch

How reproducible:
100%

Steps to Reproduce:
#virt-convert -i vmx -o virt-image -D qed /tmp/vmware/*.vmx

Check if the conversion successful.

Actual results:
Failed. Error message pop up "virt-convert: error: Unknown output disk format "qed""

Expect result:
Support qed format in virt-convert

Comment 4 Cole Robinson 2013-04-21 19:12:24 UTC
virtinst has been merged into virt-manager.git. Moving all virtinst bugs to the virt-manager component.

Comment 5 Cole Robinson 2014-02-07 16:59:49 UTC
Soon to be upstream virt-convert has dropped the image format whitelist, so this should work now.