Skip to content

parallels: load bitmap extension

Vladimir Sementsov-Ogievskiy qemu-devel 2 versions – Applied

Status from this message: Thanks, applied to the block branch.

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest6 patches 14 repliesApplied
  2. v14 of 5 patches 8 repliesSuperseded

Changes in v2 from the cover letter

01: tweak commit message, add r-bs by Eric and Denis 02: tweak wording by Denis's suggestions
03: new, suggested by Denis
04: rebase on 03, add several error checking,
convert l1 table to cpu from small-endian, allow loading several bitmaps
06: add copyright, drop "/work/mega"

Patches in v2 Applied

#Subject and filesSizeRepliesApplied
1/6qcow2-bitmap: make bytes_covered_by_bitmap_cluster() publicblock/dirty-bitmap.c block/qcow2-bitmap.c include/block/dirty-bitmap.h+17 -140 replies
2/6parallels.txt: fix bitmap L1 table descriptiondocs/interop/parallels.txt+15 -122 replies
3/6block/parallels: BDRVParallelsState: add cluster_size fieldblock/parallels.c block/parallels.h+5 -44 replies
4/6parallels: support bitmap extension for read-only modeblock/meson.build block/parallels-ext.c block/parallels.c +1 more+325 -21 reply
5/6iotests.py: add unarchive_sample_image() helpertests/qemu-iotests/iotests.py+10 -01 reply
6/6iotests: add parallels-read-bitmap testtests/qemu-iotests/sample_images/parallels-with-bitmap.bz2 tests/qemu-iotests/sample_images/parallels-with-bitmap.sh tests/qemu-iotests/tests/parallels-read-bitmap +1 more+112 -01 reply

Reviews trailers per patch

All 6 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchEric BlakeDenis V. LunevJeff Cody
SeriesR-b R-b
1/6R-b R-b
2/6R-b
3/6R-b R-b
4/6R-b
5/6R-b
6/6R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v2 thread

Cover letter [PATCH v2 0/6] parallels: load bitmap extension

Hi all!

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

v2:
01: tweak commit message, add r-bs by Eric and Denis 02: tweak wording by Denis's suggestions
03: new, suggested by Denis
04: rebase on 03, add several error checking,
convert l1 table to cpu from small-endian, allow loading several bitmaps
06: add copyright, drop "/work/mega"

Vladimir Sementsov-Ogievskiy (6):
qcow2-bitmap: make bytes_covered_by_bitmap_cluster() public parallels.txt: fix bitmap L1 table description block/parallels: BDRVParallelsState: add cluster_size field
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                    |  27 +-
 block/parallels.h                             |   7 +-
 include/block/dirty-bitmap.h                  |   2 +
 block/dirty-bitmap.c                          |  13 +
 block/parallels-ext.c                         | 300 ++++++++++++++++++
 block/parallels.c                             |  26 +-
 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    |  51 +++
 .../qemu-iotests/tests/parallels-read-bitmap  |  55 ++++
 .../tests/parallels-read-bitmap.out           |   6 +
 13 files changed, 484 insertions(+), 32 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
Signature · 1 line
2.29.2