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:50 -0500
committerKevin Wolf <kwolf@redhat.com>2017-07-10 13:18:06 +0200
commitae4cc8777b456ab87ca1f02b98b006ec0c96335e (patch)
tree9fb39918b1608b4bf91071a149340c711911f0d8 /qemu-io-cmds.c
parent782d97efec66d743f87f28f1d040cdfacc380b1e (diff)
downloadfocaccia-qemu-ae4cc8777b456ab87ca1f02b98b006ec0c96335e.tar.gz
focaccia-qemu-ae4cc8777b456ab87ca1f02b98b006ec0c96335e.zip
mirror: Switch mirror_do_read() to byte-based
We are gradually converting to byte-based interfaces, as they are
easier to reason about than sector-based.  Convert another internal
function, preserving all existing semantics, and adding one more
assertion that things are still sector-aligned (so that conversions
to sectors in mirror_read_complete don't need to round).

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