summaryrefslogtreecommitdiffstats
path: root/include/block/dirty-bitmap.h
diff options
context:
space:
mode:
authorVladimir Sementsov-Ogievskiy2017-06-28 14:05:18 +0200
committerMax Reitz2017-07-11 17:44:58 +0200
commit3dd10a06d173e0904c6d47ced1de67c40139d5b1 (patch)
treeae43acf8310170802fd0c9c0a5dcac827939f6a9 /include/block/dirty-bitmap.h
parentblock: introduce persistent dirty bitmaps (diff)
downloadqemu-3dd10a06d173e0904c6d47ced1de67c40139d5b1.tar.gz
qemu-3dd10a06d173e0904c6d47ced1de67c40139d5b1.tar.xz
qemu-3dd10a06d173e0904c6d47ced1de67c40139d5b1.zip
block/dirty-bitmap: add bdrv_dirty_bitmap_next()
Signed-off-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com> Reviewed-by: Max Reitz <mreitz@redhat.com> Reviewed-by: John Snow <jsnow@redhat.com> Message-id: 20170628120530.31251-19-vsementsov@virtuozzo.com Signed-off-by: Max Reitz <mreitz@redhat.com>
Diffstat (limited to 'include/block/dirty-bitmap.h')
-rw-r--r--include/block/dirty-bitmap.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/block/dirty-bitmap.h b/include/block/dirty-bitmap.h
index bdf43df694..c8b3110503 100644
--- a/include/block/dirty-bitmap.h
+++ b/include/block/dirty-bitmap.h
@@ -95,5 +95,7 @@ bool bdrv_has_readonly_bitmaps(BlockDriverState *bs);
bool bdrv_dirty_bitmap_get_autoload(const BdrvDirtyBitmap *bitmap);
bool bdrv_dirty_bitmap_get_persistance(BdrvDirtyBitmap *bitmap);
bool bdrv_has_changed_persistent_bitmaps(BlockDriverState *bs);
+BdrvDirtyBitmap *bdrv_dirty_bitmap_next(BlockDriverState *bs,
+ BdrvDirtyBitmap *bitmap);
#endif