summary refs log tree commit diff stats
path: root/qemu-io-cmds.c
diff options
context:
space:
mode:
authorEric Blake <eblake@redhat.com>2017-07-07 07:44:51 -0500
committerKevin Wolf <kwolf@redhat.com>2017-07-10 13:18:06 +0200
commitfb2ef7919bd7b125a2ff6cb70689a7ab93b9d05a (patch)
tree911acb0ea6c9cd50ec399714f3c7db6ca1710808 /qemu-io-cmds.c
parentae4cc8777b456ab87ca1f02b98b006ec0c96335e (diff)
downloadfocaccia-qemu-fb2ef7919bd7b125a2ff6cb70689a7ab93b9d05a.tar.gz
focaccia-qemu-fb2ef7919bd7b125a2ff6cb70689a7ab93b9d05a.zip
mirror: Switch mirror_iteration() to byte-based
We are gradually converting to byte-based interfaces, as they are
easier to reason about than sector-based.  Change the internal
loop iteration of mirroring to track by bytes instead of sectors
(although we are still guaranteed that we iterate by steps that
are both sector-aligned and multiples of the granularity).  Drop
the now-unused mirror_clip_sectors().

Signed-off-by: Eric Blake <eblake@redhat.com>
Reviewed-by: John Snow <jsnow@redhat.com>
Reviewed-by: Jeff Cody <jcody@redhat.com>
Reviewed-by: Kevin Wolf <kwolf@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'qemu-io-cmds.c')
0 files changed, 0 insertions, 0 deletions