]> git.proxmox.com Git - qemu.git/commit
qcow2: Prepare handle_alloc/copied() for byte granularity
authorKevin Wolf <kwolf@redhat.com>
Tue, 26 Mar 2013 16:50:09 +0000 (17:50 +0100)
committerStefan Hajnoczi <stefanha@redhat.com>
Thu, 28 Mar 2013 10:52:43 +0000 (11:52 +0100)
commit411d62b04b4cd2d3a6cea310689dbafa2479bc28
tree5e999462d36c43d74d95279d50027798abc85c0c
parente62daaf67958e8274547ddac87cb0a177a869216
qcow2: Prepare handle_alloc/copied() for byte granularity

This makes handle_alloc() and handle_copied() return byte-granularity
host offsets instead of returning always the cluster start. This is
required so that qcow2_alloc_cluster_offset() can stop aligning
everything to cluster boundaries.

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