summaryrefslogtreecommitdiffstats
path: root/include/block/dirty-bitmap.h
diff options
context:
space:
mode:
authorVladimir Sementsov-Ogievskiy2019-01-16 00:26:50 +0100
committerJohn Snow2019-01-16 00:26:50 +0100
commit166cd551254f4ea6226d7e687b19928747247500 (patch)
tree0d10b1361693c4c7821c9c44faf3208c45b00961 /include/block/dirty-bitmap.h
parentblock/mirror: fix and improve do_sync_target_write (diff)
downloadqemu-166cd551254f4ea6226d7e687b19928747247500.tar.gz
qemu-166cd551254f4ea6226d7e687b19928747247500.tar.xz
qemu-166cd551254f4ea6226d7e687b19928747247500.zip
Revert "block/dirty-bitmap: Add bdrv_dirty_iter_next_area"
This reverts commit 72d10a94213a954ad569095cb4491f2ae0853c40. The function is unused now. Signed-off-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com> Reviewed-by: John Snow <jsnow@redhat.com>
Diffstat (limited to 'include/block/dirty-bitmap.h')
-rw-r--r--include/block/dirty-bitmap.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/block/dirty-bitmap.h b/include/block/dirty-bitmap.h
index 4ef00ca6ba..04a117fc81 100644
--- a/include/block/dirty-bitmap.h
+++ b/include/block/dirty-bitmap.h
@@ -83,8 +83,6 @@ void bdrv_set_dirty_bitmap_locked(BdrvDirtyBitmap *bitmap,
void bdrv_reset_dirty_bitmap_locked(BdrvDirtyBitmap *bitmap,
int64_t offset, int64_t bytes);
int64_t bdrv_dirty_iter_next(BdrvDirtyBitmapIter *iter);
-bool bdrv_dirty_iter_next_area(BdrvDirtyBitmapIter *iter, uint64_t max_offset,
- uint64_t *offset, int *bytes);
void bdrv_set_dirty_iter(BdrvDirtyBitmapIter *hbi, int64_t offset);
int64_t bdrv_get_dirty_count(BdrvDirtyBitmap *bitmap);
int64_t bdrv_get_meta_dirty_count(BdrvDirtyBitmap *bitmap);