]> git.proxmox.com Git - mirror_qemu.git/commit
qemu-img: Switch get_block_status() to byte-based
authorEric Blake <eblake@redhat.com>
Thu, 12 Oct 2017 03:47:02 +0000 (22:47 -0500)
committerKevin Wolf <kwolf@redhat.com>
Thu, 26 Oct 2017 12:45:57 +0000 (14:45 +0200)
commit5e344dd8c2e4214f6515385de879ca7eb896902f
tree24b643366f6f457ffd9e1f9f0c21af4496e15e99
parent7286d6106fd2c8f2646415c8e02438db3c21a46f
qemu-img: Switch get_block_status() 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 function (no semantic change), and simplifying its
caller accordingly.

Signed-off-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Fam Zheng <famz@redhat.com>
Reviewed-by: John Snow <jsnow@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
qemu-img.c