summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorEric Blake2017-07-07 14:44:50 +0200
committerKevin Wolf2017-07-10 13:18:06 +0200
commitae4cc8777b456ab87ca1f02b98b006ec0c96335e (patch)
tree9fb39918b1608b4bf91071a149340c711911f0d8 /include
parentmirror: Switch mirror_cow_align() to byte-based (diff)
downloadqemu-ae4cc8777b456ab87ca1f02b98b006ec0c96335e.tar.gz
qemu-ae4cc8777b456ab87ca1f02b98b006ec0c96335e.tar.xz
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 'include')
0 files changed, 0 insertions, 0 deletions