diff options
| author | Eric Blake <eblake@redhat.com> | 2017-07-07 07:44:49 -0500 |
|---|---|---|
| committer | Kevin Wolf <kwolf@redhat.com> | 2017-07-10 13:18:06 +0200 |
| commit | 782d97efec66d743f87f28f1d040cdfacc380b1e (patch) | |
| tree | 07f7ec6024e1d63e793341a2f90fa641d99b7ad9 /qemu-io-cmds.c | |
| parent | 931e52607fbecb40543b298d7ee8740d0e4af3ef (diff) | |
| download | focaccia-qemu-782d97efec66d743f87f28f1d040cdfacc380b1e.tar.gz focaccia-qemu-782d97efec66d743f87f28f1d040cdfacc380b1e.zip | |
mirror: Switch mirror_cow_align() 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 (no semantic change), and add mirror_clip_bytes() as a counterpart to mirror_clip_sectors(). Some of the conversion is a bit tricky, requiring temporaries to convert between units; it will be cleared up in a following patch. 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