[Qemu-devel] [PATCH v2 0/2] bitmaps: merge bitmaps from different nodes

Vladimir Sementsov-Ogievskiy posted 2 patches 4 years, 11 months ago
Test docker-clang@ubuntu passed
Test asan passed
Test checkpatch passed
Test docker-mingw@fedora passed
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20190517152111.206494-1-vsementsov@virtuozzo.com
Maintainers: Kevin Wolf <kwolf@redhat.com>, Eric Blake <eblake@redhat.com>, Markus Armbruster <armbru@redhat.com>, Fam Zheng <fam@euphon.net>, Max Reitz <mreitz@redhat.com>, John Snow <jsnow@redhat.com>
qapi/block-core.json       | 22 +++++++++++++---
block/dirty-bitmap.c       |  9 ++++---
blockdev.c                 | 50 +++++++++++++++++++++++-------------
tests/qemu-iotests/254     | 52 ++++++++++++++++++++++++++++++++++++++
tests/qemu-iotests/254.out | 52 ++++++++++++++++++++++++++++++++++++++
tests/qemu-iotests/group   |  1 +
6 files changed, 163 insertions(+), 23 deletions(-)
create mode 100755 tests/qemu-iotests/254
create mode 100644 tests/qemu-iotests/254.out
[Qemu-devel] [PATCH v2 0/2] bitmaps: merge bitmaps from different nodes
Posted by Vladimir Sementsov-Ogievskiy 4 years, 11 months ago
Hi all!

We need to copy bitmaps to new top node on external snapshot, to
not break incremental backup chain.

The only thing to do is to allow block-dirty-bitmap-merge to work
with different nodes, here it is.

v2: use 'alternate' type in qapi for specifying source bitmap
    instead of adding new field external-bitmaps [Eric]

Vladimir Sementsov-Ogievskiy (2):
  qapi: support external bitmaps in block-dirty-bitmap-merge
  iotests: test external snapshot with bitmap copying

 qapi/block-core.json       | 22 +++++++++++++---
 block/dirty-bitmap.c       |  9 ++++---
 blockdev.c                 | 50 +++++++++++++++++++++++-------------
 tests/qemu-iotests/254     | 52 ++++++++++++++++++++++++++++++++++++++
 tests/qemu-iotests/254.out | 52 ++++++++++++++++++++++++++++++++++++++
 tests/qemu-iotests/group   |  1 +
 6 files changed, 163 insertions(+), 23 deletions(-)
 create mode 100755 tests/qemu-iotests/254
 create mode 100644 tests/qemu-iotests/254.out

-- 
2.18.0