Hi all! Here is suggestion of a new option which we need for our developments in Virtuozzo.
For details look at patch 01. Vladimir Sementsov-Ogievskiy (2): qcow2: add keep-dirty open option iotests: add qcow2-keep-dirty qapi/block-core.json | 5 + block/qcow2.h | 2 + block/qcow2.c | 66 +++++++++-- tests/qemu-iotests/tests/qcow2-keep-dirty | 104 ++++++++++++++++++ tests/qemu-iotests/tests/qcow2-keep-dirty.out | 34 ++++++ 5 files changed, 199 insertions(+), 12 deletions(-) create mode 100755 tests/qemu-iotests/tests/qcow2-keep-dirty create mode 100644 tests/qemu-iotests/tests/qcow2-keep-dirty.out -- 2.31.1