summary refs log tree commit diff stats
path: root/block/commit.c
diff options
context:
space:
mode:
authorEric Blake <eblake@redhat.com>2017-07-21 13:32:42 -0500
committerKevin Wolf <kwolf@redhat.com>2017-07-24 15:06:04 +0200
commit6c98c57af3f4fab85bdf5f01616c91322bd4312a (patch)
treeb2b6304d43d43afc327a4570097e760fa657c8e4 /block/commit.c
parent88e1f9274522929fc5f9b553df9e68e135d1ef2e (diff)
downloadfocaccia-qemu-6c98c57af3f4fab85bdf5f01616c91322bd4312a.tar.gz
focaccia-qemu-6c98c57af3f4fab85bdf5f01616c91322bd4312a.zip
dirty-bitmap: Report BlockDirtyInfo.count in bytes, as documented
We've been documenting the value in bytes since its introduction
in commit b9a9b3a4 (v1.3), where it was actually reported in bytes.

Commit e4654d2 (v2.0) then removed things from block/qapi.c, in
preparation for a rewrite to a list of dirty sectors in the next
commit 21b5683 in block.c, but the new code mistakenly started
reporting in sectors.

Fixes: https://bugzilla.redhat.com/1441460

CC: qemu-stable@nongnu.org
Signed-off-by: Eric Blake <eblake@redhat.com>
Reviewed-by: John Snow <jsnow@redhat.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'block/commit.c')
0 files changed, 0 insertions, 0 deletions