]> git.proxmox.com Git - qemu.git/commit
qcow2: Add qcow2_alloc_clusters_at()
authorKevin Wolf <kwolf@redhat.com>
Fri, 2 Mar 2012 18:35:58 +0000 (19:35 +0100)
committerKevin Wolf <kwolf@redhat.com>
Mon, 12 Mar 2012 14:14:07 +0000 (15:14 +0100)
commit256900b16b0264af9e165bceabbf74dcece4ea38
tree396c9278779d88bc4bb831b3b58780867a69d3ff
parentbf319ece56bc07608bfdf46b8ef5c61b52be83f6
qcow2: Add qcow2_alloc_clusters_at()

This function allows to allocate clusters at a given offset in the image
file. This is useful if you want to allocate the second part of an area
that must be contiguous.

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Reviewed-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
block/qcow2-refcount.c
block/qcow2.h