[PATCH 0/5] parallels: load bitmap extension

Vladimir Sementsov-Ogievskiy posted 5 patches 4 years, 9 months ago
Test checkpatch passed
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20210216164527.37745-1-vsementsov@virtuozzo.com
Maintainers: Stefan Hajnoczi <stefanha@redhat.com>, Eric Blake <eblake@redhat.com>, Max Reitz <mreitz@redhat.com>, John Snow <jsnow@redhat.com>, Kevin Wolf <kwolf@redhat.com>, Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>, "Denis V. Lunev" <den@openvz.org>
There is a newer version of this series
docs/interop/parallels.txt                    |  15 +-
block/parallels.h                             |   6 +-
include/block/dirty-bitmap.h                  |   2 +
block/dirty-bitmap.c                          |  13 +
block/parallels-ext.c                         | 286 ++++++++++++++++++
block/parallels.c                             |  18 ++
block/qcow2-bitmap.c                          |  16 +-
block/meson.build                             |   3 +-
tests/qemu-iotests/iotests.py                 |  10 +
.../sample_images/parallels-with-bitmap.bz2   | Bin 0 -> 203 bytes
.../sample_images/parallels-with-bitmap.sh    |  33 ++
.../qemu-iotests/tests/parallels-read-bitmap  |  57 ++++
.../tests/parallels-read-bitmap.out           |   6 +
13 files changed, 443 insertions(+), 22 deletions(-)
create mode 100644 block/parallels-ext.c
create mode 100644 tests/qemu-iotests/sample_images/parallels-with-bitmap.bz2
create mode 100755 tests/qemu-iotests/sample_images/parallels-with-bitmap.sh
create mode 100755 tests/qemu-iotests/tests/parallels-read-bitmap
create mode 100644 tests/qemu-iotests/tests/parallels-read-bitmap.out
[PATCH 0/5] parallels: load bitmap extension
Posted by Vladimir Sementsov-Ogievskiy 4 years, 9 months ago
Hi all!

Suddenly we need to load bitmaps from parallels image in our product.
So here is a feature.

Vladimir Sementsov-Ogievskiy (5):
  qcow2-bitmap: make bytes_covered_by_bitmap_cluster() public
  parallels.txt: fix bitmap L1 table description
  parallels: support bitmap extension for read-only mode
  iotests.py: add unarchive_sample_image() helper
  iotests: add parallels-read-bitmap test

 docs/interop/parallels.txt                    |  15 +-
 block/parallels.h                             |   6 +-
 include/block/dirty-bitmap.h                  |   2 +
 block/dirty-bitmap.c                          |  13 +
 block/parallels-ext.c                         | 286 ++++++++++++++++++
 block/parallels.c                             |  18 ++
 block/qcow2-bitmap.c                          |  16 +-
 block/meson.build                             |   3 +-
 tests/qemu-iotests/iotests.py                 |  10 +
 .../sample_images/parallels-with-bitmap.bz2   | Bin 0 -> 203 bytes
 .../sample_images/parallels-with-bitmap.sh    |  33 ++
 .../qemu-iotests/tests/parallels-read-bitmap  |  57 ++++
 .../tests/parallels-read-bitmap.out           |   6 +
 13 files changed, 443 insertions(+), 22 deletions(-)
 create mode 100644 block/parallels-ext.c
 create mode 100644 tests/qemu-iotests/sample_images/parallels-with-bitmap.bz2
 create mode 100755 tests/qemu-iotests/sample_images/parallels-with-bitmap.sh
 create mode 100755 tests/qemu-iotests/tests/parallels-read-bitmap
 create mode 100644 tests/qemu-iotests/tests/parallels-read-bitmap.out

-- 
2.29.2