[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PULL 05/28] tests/virtio-blk-test: Disable auto-read-only
From: |
Kevin Wolf |
Subject: |
[Qemu-devel] [PULL 05/28] tests/virtio-blk-test: Disable auto-read-only |
Date: |
Tue, 12 Mar 2019 18:30:02 +0100 |
tests/virtio-blk-test uses a temporary image file that it deletes while
QEMU is still running, so it can't be reopened when writers are
attached or detached. Disable auto-read-only to keep it always writable.
Signed-off-by: Kevin Wolf <address@hidden>
Reviewed-by: Eric Blake <address@hidden>
---
tests/virtio-blk-test.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tests/virtio-blk-test.c b/tests/virtio-blk-test.c
index b02be0274e..b65365934b 100644
--- a/tests/virtio-blk-test.c
+++ b/tests/virtio-blk-test.c
@@ -751,7 +751,7 @@ static void *virtio_blk_test_setup(GString *cmd_line, void
*arg)
char *tmp_path = drive_create();
g_string_append_printf(cmd_line,
- " -drive if=none,id=drive0,file=%s,format=raw "
+ " -drive
if=none,id=drive0,file=%s,format=raw,auto-read-only=off "
"-drive
if=none,id=drive1,file=null-co://,format=raw ",
tmp_path);
--
2.20.1
- [Qemu-devel] [PULL 00/28] Block layer patches, Kevin Wolf, 2019/03/12
- [Qemu-devel] [PULL 03/28] qapi: move to QOM path for x-block-latency-histogram-set, Kevin Wolf, 2019/03/12
- [Qemu-devel] [PULL 06/28] qemu-iotests: commit to backing file with auto-read-only, Kevin Wolf, 2019/03/12
- [Qemu-devel] [PULL 07/28] block: Avoid useless local_err, Kevin Wolf, 2019/03/12
- [Qemu-devel] [PULL 11/28] file-posix: Store BDRVRawState.reopen_state during reopen, Kevin Wolf, 2019/03/12