diff options
author | François Revol <revol@free.fr> | 2009-12-22 12:40:49 +0100 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2010-01-08 09:58:40 -0600 |
commit | 95a2f9bc588c3f83375d87b0a9394f89a1bcfada (patch) | |
tree | 8e885b344e8e959ba2afb7397601554b450974ed /aio.c | |
parent | ceb696159d569db5b2a7659ce38752398c236742 (diff) |
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>
Diffstat (limited to 'aio.c')
0 files changed, 0 insertions, 0 deletions