mbox series

[v2,0/2] qcow2: add keep-dirty open option

Message ID 20220127170019.3292051-1-vsementsov@virtuozzo.com
Headers show
Series qcow2: add keep-dirty open option | expand

Message

Vladimir Sementsov-Ogievskiy Jan. 27, 2022, 5 p.m. UTC
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