vmdk: extract vmdk_read_desc
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>Reviewed-by: Fam Zheng <famz@redhat.com>Signed-off-by: Kevin Wolf <kwolf@redhat.com>
vmdk: push vmdk_read_desc up to caller
Currently, we just try reading a VMDK file as both image and descriptor.This makes it hard to choose which of the two attempts gave the best error.We'll decide in advance if the file looks like an image or a descriptor,...
gluster: default scheme to gluster:// and host to localhost.
Currently, "gluster:///volname/img" and (using file. options)"file.driver=gluster,file.filename=foo" will segfault. Also,"//host/volname/img" will be rejected, but it is a valid URLthat should be accepted just fine with "file.driver=gluster"....
gluster: correctly propagate errors
cow: correctly propagate errors
curl: correctly propagate errors
qcow: correctly propagate errors
qed: correctly propagate errors
vhdx: correctly propagate errors
vvfat: correctly propagate errors
Before: $ ./qemu-io-old qemu-io-old> open -r -o driver=vvfat,fat-type=24,dir=i386-softmmu Valid FAT types are only 12, 16 and 32 qemu-io-old: can't open device (null): Could not open image: Invalid argument...
View all revisions | View revisions
Also available in: Atom