]> git.proxmox.com Git - mirror_qemu.git/commit - block/vpc.c
block/vpc: check that the image has not been truncated
authorPeter Lieven <pl@kamp.de>
Thu, 24 Oct 2013 07:16:03 +0000 (09:16 +0200)
committerKevin Wolf <kwolf@redhat.com>
Thu, 24 Oct 2013 15:34:48 +0000 (17:34 +0200)
commitfb8fe35f63a56170cf1bf92b1991d0056385b901
tree275c0c5760c0c9b737c0db1ef7217addf9f85bd5
parentfefddf951b6dfe51c28d41f86669bfffb68c7a15
block/vpc: check that the image has not been truncated

this adds a check that a dynamic VHD file has not been
accidently truncated (e.g. during transfer or upload).

Signed-off-by: Peter Lieven <pl@kamp.de>
Reviewed-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
block/vpc.c