summaryrefslogtreecommitdiff
path: root/qemu-bridge-helper.c
diff options
context:
space:
mode:
authorMax Reitz <mreitz@redhat.com>2013-09-25 12:07:22 +0200
committerKevin Wolf <kwolf@redhat.com>2013-09-27 11:16:35 +0200
commite390cf5a9722d3f3cc54efb505f6ff37fa554b11 (patch)
tree27e3c5dfadbfe70735c3a556ab8bda85386a9b3b /qemu-bridge-helper.c
parentfef9c19139f4d69a080d99b8cbade163d0bbf0fc (diff)
downloadqemu-e390cf5a9722d3f3cc54efb505f6ff37fa554b11.tar.gz
qcow2: Correct bitmap size in zero expansion
Since the expanded_clusters bitmap is addressed using host offsets in the underlying image file, the correct size to use for allocating the bitmap is not determined by the guest disk image but by the underlying host image file. Furthermore, this size may change during the expansion due to cluster allocations on growable image files. In this case, the bitmap needs to be resized as well to reflect the growth. Signed-off-by: Max Reitz <mreitz@redhat.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'qemu-bridge-helper.c')
0 files changed, 0 insertions, 0 deletions