This is part two of what I had sent earlier as "[PATCH 00/34] block: Cache mode for children, reopen overhaul and more". Most of the patches were actually already reviewed in v1.
v3: - Removed tests that depend on memory size of test machine [Max] - Rebased, resolved conflicts with Berto's cache cleaning timer series v2: Apart from a few addressed review comments, there are no functional changes compared to v1. Some rebasing was necessary; also the qemu-iotests cases are new. Kevin Wolf (13): block: Allow specifying driver-specific options to reopen qemu-io: Remove duplicate 'open' error message qemu-io: Add command 'reopen' qcow2: Improve error message qcow2: Factor out qcow2_update_options() qcow2: Move qcow2_update_options() call up qcow2: Move rest of option handling to qcow2_update_options() qcow2: Leave s unchanged on qcow2_update_options() failure qcow2: Fix memory leak in qcow2_update_options() error path qcow2: Make qcow2_update_options() suitable for transactions qcow2: Support updating driver-specific options in reopen qemu-iotests: Reopen qcow2 with lazy-refcounts change qemu-iotests: More qcow2 reopen tests block.c | 42 ++++- block/commit.c | 4 +- block/qcow2.c | 390 ++++++++++++++++++++++++++++++--------------- include/block/block.h | 4 +- qemu-io-cmds.c | 90 +++++++++++ qemu-io.c | 1 - tests/qemu-iotests/039 | 27 ++++ tests/qemu-iotests/039.out | 18 +++ tests/qemu-iotests/137 | 145 +++++++++++++++++ tests/qemu-iotests/137.out | 42 +++++ tests/qemu-iotests/group | 1 + 11 files changed, 630 insertions(+), 134 deletions(-) create mode 100755 tests/qemu-iotests/137 create mode 100644 tests/qemu-iotests/137.out -- 1.8.3.1