]> git.proxmox.com Git - mirror_qemu.git/commit
backup: Switch BackupBlockJob to byte-based
authorEric Blake <eblake@redhat.com>
Fri, 7 Jul 2017 12:44:53 +0000 (07:44 -0500)
committerKevin Wolf <kwolf@redhat.com>
Mon, 10 Jul 2017 11:18:06 +0000 (13:18 +0200)
commitcf79cdf662aad365b53fc955f45fd47d9883c8df
treeb9cb81348abe06ec9685f6f130dfcd1a183fb24e
parente8a81e9cadd0ec0e2cf3f564ae73809b0d8780da
backup: Switch BackupBlockJob to byte-based

We are gradually converting to byte-based interfaces, as they are
easier to reason about than sector-based.  Continue by converting an
internal structure (no semantic change), and all references to
tracking progress.  Drop a redundant local variable bytes_per_cluster.

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>
block/backup.c