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.
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 | 362 ++++++++++++++++++++++++++++++--------------- 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 | 143 ++++++++++++++++++ tests/qemu-iotests/137.out | 43 ++++++ tests/qemu-iotests/group | 1 + 11 files changed, 612 insertions(+), 123 deletions(-) create mode 100755 tests/qemu-iotests/137 create mode 100644 tests/qemu-iotests/137.out -- 1.8.3.1