]> git.proxmox.com Git - mirror_qemu.git/commit - block/vmdk.c
vmdk: do not try opening a file as both image and descriptor
authorPaolo Bonzini <pbonzini@redhat.com>
Mon, 17 Feb 2014 13:44:04 +0000 (14:44 +0100)
committerKevin Wolf <kwolf@redhat.com>
Fri, 21 Feb 2014 20:02:24 +0000 (21:02 +0100)
commit37f09e5e3d206e7c555d28a7755cecfa137dad22
tree47cacc5a2a75c12ff1dd246b36cc7ba4ce7091e9
parentd1833ef52be349e41d17e9c5ddaea8bb4ad3a7fb
vmdk: do not try opening a file as both image and descriptor

This prepares for propagating errors from vmdk_open_sparse and
vmdk_open_desc_file up to the caller of vmdk_open.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Reviewed-by: Fam Zheng <famz@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
block/vmdk.c
tests/qemu-iotests/059.out