aboutsummaryrefslogtreecommitdiff
path: root/tests/qemu-iotests/153.out
diff options
context:
space:
mode:
authorFam Zheng <famz@redhat.com>2017-12-25 10:51:07 +0800
committerMax Reitz <mreitz@redhat.com>2018-03-09 15:40:07 +0100
commitfcca5dce203b8df0817bcca4c23e4c6846df5a56 (patch)
tree856a9783e26b7805684609fcccd14e1317e09eda /tests/qemu-iotests/153.out
parent56ea7450aa4078e357b6ec715046ecc32a6b16b4 (diff)
downloadqemu-fcca5dce203b8df0817bcca4c23e4c6846df5a56.zip
qemu-fcca5dce203b8df0817bcca4c23e4c6846df5a56.tar.gz
qemu-fcca5dce203b8df0817bcca4c23e4c6846df5a56.tar.bz2
iotests: Test creating overlay when guest running
Signed-off-by: Fam Zheng <famz@redhat.com> Message-id: 20171225025107.23985-1-famz@redhat.com Reviewed-by: Eric Blake <eblake@redhat.com> Signed-off-by: Max Reitz <mreitz@redhat.com>
Diffstat (limited to 'tests/qemu-iotests/153.out')
-rw-r--r--tests/qemu-iotests/153.out7
1 files changed, 4 insertions, 3 deletions
diff --git a/tests/qemu-iotests/153.out b/tests/qemu-iotests/153.out
index 5b917b1..34309cf 100644
--- a/tests/qemu-iotests/153.out
+++ b/tests/qemu-iotests/153.out
@@ -372,15 +372,16 @@ Is another process using the image?
== Symbolic link ==
QEMU_PROG: -drive if=none,file=TEST_DIR/t.qcow2: Failed to get "write" lock
Is another process using the image?
-
-== Closing an image should unlock it ==
{"return": {}}
Adding drive
_qemu_io_wrapper TEST_DIR/t.qcow2 -c write 0 512
can't open device TEST_DIR/t.qcow2: Failed to get "write" lock
Is another process using the image?
-Closing drive
+Creating overlay with qemu-img when the guest is running should be allowed
+
+_qemu_img_wrapper create -f qcow2 -b TEST_DIR/t.qcow2 TEST_DIR/t.qcow2.overlay
+== Closing an image should unlock it ==
_qemu_io_wrapper TEST_DIR/t.qcow2 -c write 0 512
Adding two and closing one