Hi all! Here is suggestion of a new option which we need for our
developments in Virtuozzo.
For details look at patch 01.
v2: - drop relation with lazy_refcounts
- improve documentation of new options in qapi/
Vladimir Sementsov-Ogievskiy (2):
qcow2: add keep-dirty open option
iotests: add qcow2-keep-dirty
qapi/block-core.json | 8 ++
block/qcow2.h | 2 +
block/qcow2.c | 61 +++++++++---
tests/qemu-iotests/tests/qcow2-keep-dirty | 99 +++++++++++++++++++
tests/qemu-iotests/tests/qcow2-keep-dirty.out | 31 ++++++
5 files changed, 189 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