Hi, Here's v3 of this series, the only changes are the corrections in the iotest suggested by Max.
Regards, Berto v3: - Patch 2: Use $() instead of backquotes, remove 'here' variable and don't use 'sleep' when waiting for block-commit to finish [Max] v2: https://lists.gnu.org/archive/html/qemu-block/2019-04/msg00334.html - Patch 2: Added test case v1: https://lists.gnu.org/archive/html/qemu-block/2019-04/msg00281.html Output of backport-diff against v2: Key: [----] : patches are identical [####] : number of functional differences between upstream/downstream patch [down] : patch is downstream-only The flags [FC] indicate (F)unctional and (C)ontextual differences, respectively Alberto Garcia (2): commit: Make base read-only if there is an early failure iotests: Check that images are in read-only mode after block-commit block/commit.c | 3 ++ tests/qemu-iotests/249 | 115 +++++++++++++++++++++++++++++++++++++++++++++ tests/qemu-iotests/249.out | 35 ++++++++++++++ tests/qemu-iotests/group | 1 + 4 files changed, 154 insertions(+) create mode 100755 tests/qemu-iotests/249 create mode 100644 tests/qemu-iotests/249.out -- 2.11.0