From: Alberto Garcia Date: Thu, 18 Oct 2018 08:59:04 +0000 (+0300) Subject: iotest: Test x-blockdev-change on a Quorum X-Git-Tag: v3.1.0-rc0~8^2~18 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=04f600ef7cacaa2a81b74b2cdd3670cfc106d0e2;p=thirdparty%2Fqemu.git iotest: Test x-blockdev-change on a Quorum This patch tests that you can add and remove drives from a Quorum using the x-blockdev-change command. Signed-off-by: Alberto Garcia Signed-off-by: Kevin Wolf --- diff --git a/tests/qemu-iotests/081 b/tests/qemu-iotests/081 index 0ea010afbf6..9f1dece2711 100755 --- a/tests/qemu-iotests/081 +++ b/tests/qemu-iotests/081 @@ -198,6 +198,92 @@ quorum="$quorum,file.children.2.driver=raw" $QEMU_IO -c "open -o $quorum" | _filter_qemu_io +echo +echo "== dynamically adding a child to a quorum ==" + +for verify in false true; do + run_qemu <