diff options
author | Eric Blake <eblake@redhat.com> | 2017-07-07 07:44:51 -0500 |
---|---|---|
committer | Kevin Wolf <kwolf@redhat.com> | 2017-07-10 13:18:06 +0200 |
commit | fb2ef7919bd7b125a2ff6cb70689a7ab93b9d05a (patch) | |
tree | 911acb0ea6c9cd50ec399714f3c7db6ca1710808 /tests/test-keyval.c | |
parent | ae4cc8777b456ab87ca1f02b98b006ec0c96335e (diff) | |
download | qemu-fb2ef7919bd7b125a2ff6cb70689a7ab93b9d05a.zip qemu-fb2ef7919bd7b125a2ff6cb70689a7ab93b9d05a.tar.gz qemu-fb2ef7919bd7b125a2ff6cb70689a7ab93b9d05a.tar.bz2 |
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 'tests/test-keyval.c')
0 files changed, 0 insertions, 0 deletions