]> git.proxmox.com Git - qemu.git/commit
qcow2-cluster: Expand zero clusters
authorMax Reitz <mreitz@redhat.com>
Tue, 3 Sep 2013 08:09:52 +0000 (10:09 +0200)
committerKevin Wolf <kwolf@redhat.com>
Thu, 12 Sep 2013 08:12:46 +0000 (10:12 +0200)
commit32b6444d23d0ff618d73e5b766600cd258066169
tree423a268eaa2281d71e0d7d1d75ade22e153510aa
parente7108feaace8e02b3a4bf010448fc2744f753381
qcow2-cluster: Expand zero clusters

Add functionality for expanding zero clusters. This is necessary for
downgrading the image version to one without zero cluster support.

For non-backed images, this function may also just discard zero clusters
instead of truly expanding them.

Signed-off-by: Max Reitz <mreitz@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
block/qcow2-cluster.c
block/qcow2-refcount.c
block/qcow2.h