[et-mgmt-tools] [PATCH] Check result of qemu-img

John Levon levon at movementarian.org
Tue Jul 1 20:02:10 UTC 2008


On Tue, Jul 01, 2008 at 03:59:01PM -0400, Joey Boggs wrote:

> You might need to specify the -f option, I know there's an older 
> qemu-img version on Fedora 8 that does not autodetect the file format.
> 
> qemu-img -f file.vmdk

No good:

$ qemu-img convert -f vmdk root.vmdk -O raw a.raw
qemu-img: Could not open 'root.vmdk'

vmdk is:

$ cat root.vmdk 
# Disk DescriptorFile
version=1
CID=ab3d47b2
parentCID=ffffffff
createType="twoGbMaxExtentFlat"

# Extent description
RW 3145728 FLAT "root.hdd" 0

# The Disk Data Base 
#DDB

ddb.virtualHWVersion = "4"
ddb.geometry.cylinders = "768"
ddb.geometry.heads = "128"
ddb.geometry.sectors = "32"
ddb.adapterType = "lsilogic"
ddb.toolsVersion = "6533"




More information about the et-mgmt-tools mailing list