Stefan Weil 6eea90eba4 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>
2009-08-27 19:33:15 -05:00
..
2009-07-09 16:06:38 -05:00
2009-07-10 13:44:29 -05:00
2009-08-24 08:46:47 -05:00
2009-08-27 19:33:15 -05:00
2009-07-22 10:58:47 -05:00