]> git.proxmox.com Git - mirror_qemu.git/commit - block/vmdk.c
vmdk: Allow reading variable size descriptor files
authorEvgeny Budilovsky <evgeny.budilovsky@ravellosystems.com>
Wed, 12 Jun 2013 11:06:30 +0000 (14:06 +0300)
committerKevin Wolf <kwolf@redhat.com>
Mon, 17 Jun 2013 15:47:59 +0000 (17:47 +0200)
commit0bed087df24c7b3fae366f239b9d150de3309416
tree5edccb3f99fcb8a41edcd51ed41c886d70e511b6
parentf3c507adcd7b00a08f2075afb6012f791ba9aec5
vmdk: Allow reading variable size descriptor files

the hard-coded 2k buffer on the stack won't allow reading big descriptor
files which can be generated when storing big images. For example 500G
vmdk splitted to 2G chunks.

Signed-off-by: Evgeny Budilovsky <evgeny.budilovsky@ravellosystems.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
block/vmdk.c