summary refs log tree commit diff stats
path: root/hw/lm32_pic.c
diff options
context:
space:
mode:
authorKevin Wolf <kwolf@redhat.com>2012-02-07 10:15:47 +0100
committerKevin Wolf <kwolf@redhat.com>2012-02-09 16:17:51 +0100
commitecd880d9eeb59a0148d4761698448245ec4306e0 (patch)
treefb65bb5a592b41ed957d20260e0ee53c5d62ec33 /hw/lm32_pic.c
parent24da78dbb54b61fa299919c89709270fad5e682d (diff)
downloadfocaccia-qemu-ecd880d9eeb59a0148d4761698448245ec4306e0.tar.gz
focaccia-qemu-ecd880d9eeb59a0148d4761698448245ec4306e0.zip
vpc: Round up image size during fixed image creation
The geometry calculation algorithm from the VHD spec rounds the image
size down if it doesn't exactly match a geometry. During image
conversion, this causes the image to be truncated. For dynamic images,
we already have code in place to round up instead, let's do the same for
fixed images.

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'hw/lm32_pic.c')
0 files changed, 0 insertions, 0 deletions