qemu-e2k/block
François Revol 95a2f9bc58 block/vdi: allow disk sizes not multiple of block size
The disk image I created from my old laptop disk with VBoxManage
internalcommand converthd obviously was not a multiple of 1MB as when
created from scratch. This fixes QEMU refusing it. We still require the
size to be a multiple of sector size though.
It then boots correctly.

Allow opening VDI images with size not multiple of 1MB (as when converted from a raw disk).

Signed-off-by: François Revol <revol@free.fr>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
2010-01-08 09:58:40 -06:00
..
bochs.c block/bochs: improve format checking 2009-12-25 19:27:18 +00:00
cloop.c
cow.c
curl.c
dmg.c
nbd.c
parallels.c
qcow2-cluster.c
qcow2-refcount.c
qcow2-snapshot.c
qcow2.c
qcow2.h
qcow.c
raw-posix-aio.h
raw-posix.c
raw-win32.c
vdi.c block/vdi: allow disk sizes not multiple of block size 2010-01-08 09:58:40 -06:00
vmdk.c
vpc.c
vvfat.c