]> www.infradead.org Git - users/dwmw2/qemu.git/commit
dirty-bitmap: Report BlockDirtyInfo.count in bytes, as documented
authorEric Blake <eblake@redhat.com>
Fri, 21 Jul 2017 18:32:42 +0000 (13:32 -0500)
committerMichael Roth <mdroth@linux.vnet.ibm.com>
Mon, 31 Jul 2017 20:33:09 +0000 (15:33 -0500)
commit4aa16db9cf4219c0bb4fa0291349eb5d26c34a06
treec8b5e8e9bac0439c5cc536d3fff7083b8553a75f
parent27dd31f164044532bea38cc2c0711ed08e2b044f
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>
(cherry picked from commit 6c98c57af3f4fab85bdf5f01616c91322bd4312a)
Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
block/dirty-bitmap.c