[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH 03/13] block: tiny refactoring: minimize hbitmap_(se
From: |
Vladimir Sementsov-Ogievskiy |
Subject: |
[Qemu-devel] [PATCH 03/13] block: tiny refactoring: minimize hbitmap_(set/reset) usage |
Date: |
Wed, 11 Nov 2015 18:16:33 +0300 |
Reviewed-by: John Snow <address@hidden>
Signed-off-by: Vladimir Sementsov-Ogievskiy <address@hidden>
---
block.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/block.c b/block.c
index 70106b8..1171dbb 100644
--- a/block.c
+++ b/block.c
@@ -3449,7 +3449,7 @@ void bdrv_set_dirty(BlockDriverState *bs, int64_t
cur_sector,
if (!bdrv_dirty_bitmap_enabled(bitmap)) {
continue;
}
- hbitmap_set(bitmap->bitmap, cur_sector, nr_sectors);
+ bdrv_set_dirty_bitmap(bitmap, cur_sector, nr_sectors);
}
}
--
2.1.4
- [Qemu-devel] [PATCH v7 00/13] Dirty bitmaps migration, Vladimir Sementsov-Ogievskiy, 2015/11/11
- [Qemu-devel] [PATCH 03/13] block: tiny refactoring: minimize hbitmap_(set/reset) usage,
Vladimir Sementsov-Ogievskiy <=
- [Qemu-devel] [PATCH 12/13] iotests: add default node-name, Vladimir Sementsov-Ogievskiy, 2015/11/11
- [Qemu-devel] [PATCH 05/13] block: add bdrv_next_dirty_bitmap(), Vladimir Sementsov-Ogievskiy, 2015/11/11
- [Qemu-devel] [PATCH 10/13] iotests: add add_incoming_migration to VM class, Vladimir Sementsov-Ogievskiy, 2015/11/11
- [Qemu-devel] [PATCH 07/13] migration/qemu-file: add qemu_put_counted_string(), Vladimir Sementsov-Ogievskiy, 2015/11/11
- [Qemu-devel] [PATCH 11/13] qapi: add md5 checksum of last dirty bitmap level to query-block, Vladimir Sementsov-Ogievskiy, 2015/11/11
- [Qemu-devel] [PATCH 06/13] qapi: add dirty-bitmaps migration capability, Vladimir Sementsov-Ogievskiy, 2015/11/11
- [Qemu-devel] [PATCH 09/13] iotests: maintain several vms in test, Vladimir Sementsov-Ogievskiy, 2015/11/11
- [Qemu-devel] [PATCH 01/13] hbitmap: serialization, Vladimir Sementsov-Ogievskiy, 2015/11/11
- [Qemu-devel] [PATCH 13/13] iotests: add dirty bitmap migration test, Vladimir Sementsov-Ogievskiy, 2015/11/11
- [Qemu-devel] [PATCH 04/13] block: add meta bitmaps, Vladimir Sementsov-Ogievskiy, 2015/11/11