Message ID | 1470662013-19785-20-git-send-email-famz@redhat.com |
---|---|
State | New |
Headers | show |
diff --git a/block.c b/block.c index 55a393f..ee9f3dc 100644 --- a/block.c +++ b/block.c @@ -992,7 +992,7 @@ static int bdrv_open_common(BlockDriverState *bs, BdrvChild *file, goto fail_opts; } - lock_mode = qemu_opt_get(opts, BDRV_OPT_LOCK_MODE) ? : "off"; + lock_mode = qemu_opt_get(opts, BDRV_OPT_LOCK_MODE) ? : "auto"; if (!strcmp(lock_mode, "auto")) { /* Default */ } else if (!strcmp(lock_mode, "shared")) {
Now that test cases are covered, we can turn it on. Signed-off-by: Fam Zheng <famz@redhat.com> --- block.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)