diff options
| author | Eric Blake | 2017-07-07 14:44:50 +0200 |
|---|---|---|
| committer | Kevin Wolf | 2017-07-10 13:18:06 +0200 |
| commit | ae4cc8777b456ab87ca1f02b98b006ec0c96335e (patch) | |
| tree | 9fb39918b1608b4bf91071a149340c711911f0d8 /include | |
| parent | mirror: Switch mirror_cow_align() to byte-based (diff) | |
| download | qemu-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
