summaryrefslogtreecommitdiff
path: root/hw/bt-sdp.c
diff options
context:
space:
mode:
authorStefan Weil <weil@mail.berlios.de>2009-08-14 21:50:02 +0200
committerAnthony Liguori <aliguori@us.ibm.com>2009-08-27 19:33:15 -0500
commit6eea90eba47534d57f05d16c1b7d695574e2395d (patch)
treedfc5adfd7b06bf6a22a2aaa8f251097922e04b9f /hw/bt-sdp.c
parentd1cd4bf41906980434bee1c6656e8aeb9a132df3 (diff)
downloadqemu-6eea90eba47534d57f05d16c1b7d695574e2395d.tar.gz
qemu-6eea90eba47534d57f05d16c1b7d695574e2395d.tar.bz2
qemu-6eea90eba47534d57f05d16c1b7d695574e2395d.zip
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>
Diffstat (limited to 'hw/bt-sdp.c')
0 files changed, 0 insertions, 0 deletions