block: Introduce bdrv_dirty_bitmap_granularity()
commit592fdd02ae987a439a2ba25a2a973673f1484805
authorJohn Snow <jsnow@redhat.com>
Fri, 17 Apr 2015 23:49:53 +0000 (17 19:49 -0400)
committerKevin Wolf <kwolf@redhat.com>
Tue, 28 Apr 2015 13:36:10 +0000 (28 15:36 +0200)
tree9d7746973aa554037cd3f3b3044e45f705b5f108
parent341ebc2f81b14862347e4d4c1fcb3759f815237a
block: Introduce bdrv_dirty_bitmap_granularity()

This returns the granularity (in bytes) of dirty bitmap,
which matches the QMP interface and the existing query
interface.

Signed-off-by: John Snow <jsnow@redhat.com>
Reviewed-by: Max Reitz <mreitz@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Message-id: 1429314609-29776-6-git-send-email-jsnow@redhat.com
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
block.c
include/block/block.h