From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:55957) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b8gnM-0008Ct-Sb for qemu-devel@nongnu.org; Fri, 03 Jun 2016 00:33:25 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1b8gnL-00088E-Uq for qemu-devel@nongnu.org; Fri, 03 Jun 2016 00:33:16 -0400 From: Fam Zheng Date: Fri, 3 Jun 2016 12:32:52 +0800 Message-Id: <1464928382-9650-1-git-send-email-famz@redhat.com> Subject: [Qemu-devel] [PATCH v5 00/10] Dirty bitmap changes for migration/persistence work List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: kwolf@redhat.com, Vladimir Sementsov-Ogievskiy , jsnow@redhat.com, qemu-block@nongnu.org, mreitz@redhat.com v5: Rebase: first 5 patches from last revision are already merged. Addressed Max's comments: 01: - "block.c" -> "block/dirty-bitmap.c" in commit message. - "an BdrvDirtyBitmapIter" -> "an BdrvDirtyBitmapIter" in code comment. - hbitmap_next => next_dirty as variable name. - bdrv_dirty_iter_free()/bdrv_dirty_iter_new() pairs => bdrv_set_dirty_iter. 02: Move the assert fix into 01. 04: Truncate the meta bitmap (done by hbitmap_truncate). 06: Add Max's r-b. 07: I left the memcpy vs cpu_to_le32/64w as is to pick up Max's r-b. That could be improved on top if wanted. 10: Add Max's r-b. Fam Zheng (8): block: Hide HBitmap in block dirty bitmap interface HBitmap: Introduce "meta" bitmap to track bit changes tests: Add test code for meta bitmap block: Support meta dirty bitmap block: Add two dirty bitmap getters block: Assert that bdrv_release_dirty_bitmap succeeded tests: Add test code for hbitmap serialization block: More operations for meta dirty bitmap Vladimir Sementsov-Ogievskiy (2): hbitmap: serialization block: BdrvDirtyBitmap serialization interface block/backup.c | 14 ++- block/dirty-bitmap.c | 160 ++++++++++++++++++++++++++- block/mirror.c | 24 ++-- include/block/dirty-bitmap.h | 35 +++++- include/qemu/hbitmap.h | 96 ++++++++++++++++ include/qemu/typedefs.h | 1 + tests/test-hbitmap.c | 255 +++++++++++++++++++++++++++++++++++++++++++ util/hbitmap.c | 206 +++++++++++++++++++++++++++++++--- 8 files changed, 751 insertions(+), 40 deletions(-) -- 2.8.2