]> git.proxmox.com Git - mirror_qemu.git/commit
qcow2: Make copy_sectors() byte based
authorKevin Wolf <kwolf@redhat.com>
Wed, 1 Jun 2016 13:21:05 +0000 (15:21 +0200)
committerKevin Wolf <kwolf@redhat.com>
Thu, 16 Jun 2016 13:19:55 +0000 (15:19 +0200)
commitaaa4d20b4972bb1a811ce929502e6741835d584e
treec62d42cd5058ffe938d807068376f4ad849b0ce6
parentecfe186380e6fc3a556dff05b866ca213e277fc7
qcow2: Make copy_sectors() byte based

This will allow copy on write operations where the overwritten part of
the cluster is not aligned to sector boundaries.

Also rename the function because it has nothing to do with sectors any
more.

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
block/qcow2-cluster.c