vmdk: Check for overhead when opening
authorFam Zheng <famz@redhat.com>
Tue, 21 Jan 2014 07:07:43 +0000 (15:07 +0800)
committerKevin Wolf <kwolf@redhat.com>
Fri, 24 Jan 2014 13:33:00 +0000 (14:33 +0100)
commit34ceed81f9ca31829448276dafe3d9151d66962c
treeec261752eeef0b69139325ebfe4149435c0d7f8b
parent46bae927134468d27f5e2508c3ced67ff58fa45b
vmdk: Check for overhead when opening

Report an error if file size is even smaller than metadata.

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