These series makes tests pass with IMGOPTS='compression_type=zstd'
Also, python iotests start to support IMGOPTS (they didn't before). v3: 02-04,06,08,14,17: add Hanna's r-b 07 iotests.py: filter out successful output of qemu-img create fix subject handle 149, 237 and 296 iotests (note, 149 is handled intuitively, as it fails :( Vladimir Sementsov-Ogievskiy (17): iotests.py: img_info_log(): rename imgopts argument 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 | 5 +- 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 | 16 +++--- 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/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.out | 10 ++-- tests/qemu-iotests/255.out | 4 -- tests/qemu-iotests/274.out | 39 ++------------- tests/qemu-iotests/280.out | 1 - 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 | 25 ++++++---- tests/qemu-iotests/303.out | 30 +++++++++++- tests/qemu-iotests/common.filter | 8 +++ tests/qemu-iotests/common.rc | 22 +++++++++ tests/qemu-iotests/iotests.py | 84 ++++++++++++++++++++------------ 37 files changed, 313 insertions(+), 219 deletions(-) -- 2.29.2