Home
last modified time | relevance | path

Searched hist:"6 eea90eb" (Results 1 – 1 of 1) sorted by relevance

/qemu/block/
H A Dvdi.c6eea90eb Fri Aug 14 19:50:02 GMT 2009 Stefan Weil <weil@mail.berlios.de> block/vdi.c: Fix several bugs

* The code for option '-static' was wrong, so image creation
always created static images.

* Static images created with qemu-img did not set header entry
blocks_allocated.

* The size of the block map must be rounded to the next multiple
of SECTOR_SIZE, otherwise the block map is only read partially
for block map sizes which are not a multiple of SECTOR_SIZE.

Signed-off-by: Stefan Weil <weil@mail.berlios.de>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>