summaryrefslogtreecommitdiffstats
path: root/cmd.c
diff options
context:
space:
mode:
authorFrançois Revol <revol@free.fr>2009-12-22 12:40:49 +0100
committerAnthony Liguori <aliguori@us.ibm.com>2010-01-08 09:58:40 -0600
commit95a2f9bc588c3f83375d87b0a9394f89a1bcfada (patch)
tree8e885b344e8e959ba2afb7397601554b450974ed /cmd.c
parentceb696159d569db5b2a7659ce38752398c236742 (diff)
downloadhqemu-95a2f9bc588c3f83375d87b0a9394f89a1bcfada.zip
hqemu-95a2f9bc588c3f83375d87b0a9394f89a1bcfada.tar.gz
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 'cmd.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud