summary refs log tree commit diff stats
path: root/scripts/qapi-types.py
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 /scripts/qapi-types.py
parentfef9c19139f4d69a080d99b8cbade163d0bbf0fc (diff)
downloadfocaccia-qemu-e390cf5a9722d3f3cc54efb505f6ff37fa554b11.tar.gz
focaccia-qemu-e390cf5a9722d3f3cc54efb505f6ff37fa554b11.zip
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 'scripts/qapi-types.py')
0 files changed, 0 insertions, 0 deletions