qemu-block
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-block] [PATCH for-2.7 10/15] qemu-iotests: Fix lock-image for shar


From: Fam Zheng
Subject: [Qemu-block] [PATCH for-2.7 10/15] qemu-iotests: Fix lock-image for shared disk in test case 091
Date: Wed, 13 Apr 2016 17:09:59 +0800

Because the source and the destination QEMU instances both open the
image, we have to disable the lock.

Signed-off-by: Fam Zheng <address@hidden>
---
 tests/qemu-iotests/091 | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/tests/qemu-iotests/091 b/tests/qemu-iotests/091
index 32bbd56..2a3c9bd 100755
--- a/tests/qemu-iotests/091
+++ b/tests/qemu-iotests/091
@@ -61,13 +61,13 @@ echo === Starting QEMU VM1 ===
 echo
 
 qemu_comm_method="monitor"
-_launch_qemu -drive file="${TEST_IMG}",cache=${CACHEMODE},id=disk
+_launch_qemu -drive 
file="${TEST_IMG}",cache=${CACHEMODE},id=disk,lock-image=off
 h1=$QEMU_HANDLE
 
 echo
 echo === Starting QEMU VM2 ===
 echo
-_launch_qemu -drive file="${TEST_IMG}",cache=${CACHEMODE},id=disk \
+_launch_qemu -drive 
file="${TEST_IMG}",cache=${CACHEMODE},id=disk,lock-image=off \
              -incoming "exec: cat '${MIG_FIFO}'"
 h2=$QEMU_HANDLE
 
-- 
2.8.0




reply via email to

[Prev in Thread] Current Thread [Next in Thread]