[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
- [Qemu-block] [PATCH for-2.7 05/15] raw-posix: Implement .bdrv_lockf, (continued)
- [Qemu-block] [PATCH for-2.7 05/15] raw-posix: Implement .bdrv_lockf, Fam Zheng, 2016/04/13
- [Qemu-block] [PATCH for-2.7 07/15] qemu-io: Add "-L" option for BDRV_O_NO_LOCK, Fam Zheng, 2016/04/13
- [Qemu-block] [PATCH for-2.7 06/15] gluster: Implement .bdrv_lockf, Fam Zheng, 2016/04/13
- [Qemu-block] [PATCH for-2.7 08/15] qemu-iotests: 140: Disable image lock for qemu-io access, Fam Zheng, 2016/04/13
- [Qemu-block] [PATCH for-2.7 09/15] qemu-iotests: 046: Move version detection out from verify_io, Fam Zheng, 2016/04/13
- [Qemu-block] [PATCH for-2.7 11/15] qemu-iotests: Disable image lock when checking test image, Fam Zheng, 2016/04/13
- [Qemu-block] [PATCH for-2.7 10/15] qemu-iotests: Fix lock-image for shared disk in test case 091,
Fam Zheng <=
- [Qemu-block] [PATCH for-2.7 13/15] ahci-test: Specify "lock-image=off" in CLI, Fam Zheng, 2016/04/13
- [Qemu-block] [PATCH for-2.7 12/15] qemu-iotests: 051: Disable image lock in the command line, Fam Zheng, 2016/04/13
- [Qemu-block] [PATCH for-2.7 15/15] block: Turn on image locking by default, Fam Zheng, 2016/04/13
- [Qemu-block] [PATCH for-2.7 14/15] ide-test: Specify "lock-image=off" in command lines, Fam Zheng, 2016/04/13
- Re: [Qemu-block] [PATCH for-2.7 00/15] block: Lock images when opening, Daniel P. Berrange, 2016/04/13
- Re: [Qemu-block] [PATCH for-2.7 00/15] block: Lock images when opening, Denis V. Lunev, 2016/04/13