summaryrefslogtreecommitdiffstats
path: root/hw/i2c/smbus.c
diff options
context:
space:
mode:
authorFam Zheng2016-10-13 23:58:30 +0200
committerMax Reitz2016-10-24 17:56:07 +0200
commit6d3f4049ba532b01ff738f9e5a66df1477c5ffdd (patch)
tree8ac4e991ffbffd7fd890d7ddc0539e62e0817ed9 /hw/i2c/smbus.c
parenttests: Add test code for hbitmap serialization (diff)
downloadqemu-6d3f4049ba532b01ff738f9e5a66df1477c5ffdd.tar.gz
qemu-6d3f4049ba532b01ff738f9e5a66df1477c5ffdd.tar.xz
qemu-6d3f4049ba532b01ff738f9e5a66df1477c5ffdd.zip
block: More operations for meta dirty bitmap
Callers can create an iterator of meta bitmap with bdrv_dirty_meta_iter_new(), then use the bdrv_dirty_iter_* operations on it. Meta iterators are also counted by bitmap->active_iterators. Also add a couple of functions to retrieve granularity and count. Signed-off-by: Fam Zheng <famz@redhat.com> Reviewed-by: Max Reitz <mreitz@redhat.com> Signed-off-by: John Snow <jsnow@redhat.com> Message-id: 1476395910-8697-11-git-send-email-jsnow@redhat.com Signed-off-by: Max Reitz <mreitz@redhat.com>
Diffstat (limited to 'hw/i2c/smbus.c')
0 files changed, 0 insertions, 0 deletions