]> Git Repo - qemu.git/commitdiff
iotests: 046: Prepare for image locking
authorFam Zheng <[email protected]>
Tue, 2 May 2017 16:35:43 +0000 (00:35 +0800)
committerKevin Wolf <[email protected]>
Thu, 11 May 2017 09:08:40 +0000 (11:08 +0200)
The qemu-img info command is executed while VM is running, add -U option
to avoid the image locking error.

Signed-off-by: Fam Zheng <[email protected]>
Signed-off-by: Kevin Wolf <[email protected]>
tests/qemu-iotests/046

index e528b67cc62fca2b9bf64d898dcc259608a564dc..f2ebecf24c784d302f8b1669dfb0e347b43ba50b 100755 (executable)
@@ -192,7 +192,7 @@ echo "== Verify image content =="
 
 function verify_io()
 {
-    if ($QEMU_IMG info -f "$IMGFMT" "$TEST_IMG" | grep "compat: 0.10" > /dev/null); then
+    if ($QEMU_IMG info -U -f "$IMGFMT" "$TEST_IMG" | grep "compat: 0.10" > /dev/null); then
         # For v2 images, discarded clusters are read from the backing file
         # Keep the variable empty so that the backing file value can be used as
         # the default below
This page took 0.030221 seconds and 4 git commands to generate.