[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH v3 26/27] block: Turn on image locking by default
From: |
Fam Zheng |
Subject: |
[Qemu-devel] [PATCH v3 26/27] block: Turn on image locking by default |
Date: |
Thu, 28 Apr 2016 20:57:45 +0800 |
Now that test cases are covered, we can turn it on.
Signed-off-by: Fam Zheng <address@hidden>
---
blockdev.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/blockdev.c b/blockdev.c
index 9968568..007690b 100644
--- a/blockdev.c
+++ b/blockdev.c
@@ -383,7 +383,7 @@ static void extract_common_blockdev_options(QemuOpts *opts,
int *bdrv_flags,
}
}
- if (!qemu_opt_get_bool(opts, "lock-image", false)) {
+ if (!qemu_opt_get_bool(opts, "lock-image", true)) {
*bdrv_flags |= BDRV_O_NO_LOCK;
}
}
--
2.8.0
- [Qemu-devel] [PATCH v3 17/27] block: Don't lock drive-backup target image in none mode, (continued)
- [Qemu-devel] [PATCH v3 17/27] block: Don't lock drive-backup target image in none mode, Fam Zheng, 2016/04/28
- [Qemu-devel] [PATCH v3 16/27] qemu-nbd: Add "--no-lock/-L" option, Fam Zheng, 2016/04/28
- [Qemu-devel] [PATCH v3 18/27] mirror: Disable image locking on target backing chain, Fam Zheng, 2016/04/28
- [Qemu-devel] [PATCH v3 20/27] qemu-iotests: 046: Move version detection out from verify_io, Fam Zheng, 2016/04/28
- [Qemu-devel] [PATCH v3 19/27] qemu-iotests: 140: Disable image lock for qemu-io access, Fam Zheng, 2016/04/28
- [Qemu-devel] [PATCH v3 21/27] qemu-iotests: Wait for QEMU processes before checking image in 091, Fam Zheng, 2016/04/28
- [Qemu-devel] [PATCH v3 22/27] qemu-iotests: 030: Disable image lock when checking test image, Fam Zheng, 2016/04/28
- [Qemu-devel] [PATCH v3 23/27] iotests: 087: Disable image lock in cases where file is shared, Fam Zheng, 2016/04/28
- [Qemu-devel] [PATCH v3 24/27] iotests: Disable image locking in 085, Fam Zheng, 2016/04/28
- [Qemu-devel] [PATCH v3 25/27] tests: Use null-co:// instead of /dev/null, Fam Zheng, 2016/04/28
- [Qemu-devel] [PATCH v3 26/27] block: Turn on image locking by default,
Fam Zheng <=
- [Qemu-devel] [PATCH v3 27/27] qemu-iotests: Add test case 153 for image locking, Fam Zheng, 2016/04/28