qcow2: Introduce Qcow2COWRegion
commit593fb83cacf3818a5623f31a6c04c24d87519ad0
authorKevin Wolf <kwolf@redhat.com>
Fri, 7 Dec 2012 17:08:43 +0000 (7 18:08 +0100)
committerKevin Wolf <kwolf@redhat.com>
Thu, 13 Dec 2012 14:37:59 +0000 (13 15:37 +0100)
treed514857a9d33adb5973dc509323ea7ef803bca0c
parent1d3afd649bc77aa14bc2741e2da6475822d41c5f
qcow2: Introduce Qcow2COWRegion

This makes it easier to address the areas for which a COW must be
performed. As a nice side effect, the COW code in
qcow2_alloc_cluster_link_l2 becomes really trivial.

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