mbox series

[v5,00/19] iotests: support zstd

Message ID 20211223160144.1097696-1-vsementsov@virtuozzo.com (mailing list archive)
Headers show
Series iotests: support zstd | expand

Message

Vladimir Sementsov-Ogievskiy Dec. 23, 2021, 4:01 p.m. UTC
These series makes tests pass with

   IMGOPTS='compression_type=zstd'

Also, python iotests start to support IMGOPTS (they didn't before).

v5: Move patches with unsupported_imgopts to the start of the series
02: add Hanna's r-b
03: - don't modify migrate-during-backup test
    - disably any 'compat' instead of just 'compat=0.10'

Vladimir Sementsov-Ogievskiy (19):
  iotests.py: img_info_log(): rename imgopts argument
  iotests.py: implement unsupported_imgopts
  iotests: specify some unsupported_imgopts for python iotests
  iotests.py: qemu_img*("create"): support
    IMGOPTS='compression_type=zstd'
  iotests: drop qemu_img_verbose() helper
  iotests.py: rewrite default luks support in qemu_img
  iotest 303: explicit compression type
  iotest 065: explicit compression type
  iotests.py: filter out successful output of qemu-img create
  iotests.py: filter compression type out
  iotest 302: use img_info_log() helper
  qcow2: simple case support for downgrading of qcow2 images with zstd
  iotests/common.rc: introduce _qcow2_dump_header helper
  iotests: massive use _qcow2_dump_header
  iotest 39: use _qcow2_dump_header
  iotests: bash tests: filter compression type
  iotests 60: more accurate set dirty bit in qcow2 header
  iotest 214: explicit compression type
  iotests: declare lack of support for compresion_type in IMGOPTS

 block/qcow2.c                                 | 58 ++++++++++-
 tests/qemu-iotests/031                        | 11 ++-
 tests/qemu-iotests/036                        |  6 +-
 tests/qemu-iotests/039                        | 22 ++---
 tests/qemu-iotests/044                        |  8 +-
 tests/qemu-iotests/044.out                    |  1 +
 tests/qemu-iotests/051                        |  5 +-
 tests/qemu-iotests/060                        | 22 ++---
 tests/qemu-iotests/060.out                    |  2 +-
 tests/qemu-iotests/061                        | 42 ++++----
 tests/qemu-iotests/061.out                    | 12 +--
 tests/qemu-iotests/065                        | 19 ++--
 tests/qemu-iotests/082.out                    | 14 +--
 tests/qemu-iotests/112                        |  3 +-
 tests/qemu-iotests/137                        |  2 +-
 tests/qemu-iotests/149.out                    | 21 ----
 tests/qemu-iotests/163                        |  3 +-
 tests/qemu-iotests/165                        |  3 +-
 tests/qemu-iotests/196                        |  3 +-
 tests/qemu-iotests/198.out                    |  4 +-
 tests/qemu-iotests/206.out                    | 10 +-
 tests/qemu-iotests/209                        |  7 +-
 tests/qemu-iotests/209.out                    |  2 +
 tests/qemu-iotests/210                        |  8 +-
 tests/qemu-iotests/214                        |  2 +-
 tests/qemu-iotests/237.out                    |  3 -
 tests/qemu-iotests/242                        |  3 +-
 tests/qemu-iotests/242.out                    | 10 +-
 tests/qemu-iotests/246                        |  3 +-
 tests/qemu-iotests/254                        |  3 +-
 tests/qemu-iotests/255.out                    |  4 -
 tests/qemu-iotests/260                        |  3 +-
 tests/qemu-iotests/274                        |  3 +-
 tests/qemu-iotests/274.out                    | 39 +-------
 tests/qemu-iotests/280.out                    |  1 -
 tests/qemu-iotests/281                        |  3 +-
 tests/qemu-iotests/287                        |  8 +-
 tests/qemu-iotests/290                        |  2 +-
 tests/qemu-iotests/296.out                    | 10 +-
 tests/qemu-iotests/302                        |  4 +-
 tests/qemu-iotests/302.out                    |  7 +-
 tests/qemu-iotests/303                        | 26 +++--
 tests/qemu-iotests/303.out                    | 30 +++++-
 tests/qemu-iotests/common.filter              |  8 ++
 tests/qemu-iotests/common.rc                  | 22 +++++
 tests/qemu-iotests/iotests.py                 | 99 +++++++++++++------
 .../tests/migrate-bitmaps-postcopy-test       |  3 +-
 tests/qemu-iotests/tests/migrate-bitmaps-test |  3 +-
 .../tests/remove-bitmap-from-backing          |  3 +-
 49 files changed, 356 insertions(+), 234 deletions(-)

Comments

Hanna Czenczek Jan. 13, 2022, 4:11 p.m. UTC | #1
On 23.12.21 17:01, Vladimir Sementsov-Ogievskiy wrote:
> These series makes tests pass with
>
>     IMGOPTS='compression_type=zstd'
>
> Also, python iotests start to support IMGOPTS (they didn't before).
>
> v5: Move patches with unsupported_imgopts to the start of the series
> 02: add Hanna's r-b
> 03: - don't modify migrate-during-backup test
>      - disably any 'compat' instead of just 'compat=0.10'

Thanks!

Applied to my block branch: https://gitlab.com/hreitz/qemu/-/commits/block