diff mbox series

[3/4] test-runner: Do not use short-form of readonly option

Message ID 20250212135209.129361-3-arkadiusz.bokowy@gmail.com
State New
Headers show
Series [1/4] test-runner: Increase amount of RAM available in VM | expand

Commit Message

Arkadiusz Bokowy Feb. 12, 2025, 1:52 p.m. UTC
From: Arkadiusz Bokowy <arkadiusz.bokowy@bokowy.com>

qemu-system-x86_64: warning: short-form boolean option 'readonly' deprecated
Please use readonly=on instead
---
 tools/test-runner.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/tools/test-runner.c b/tools/test-runner.c
index 13a5de465..1fc95d33f 100644
--- a/tools/test-runner.c
+++ b/tools/test-runner.c
@@ -214,7 +214,7 @@  static char *const qemu_argv[] = {
 	"-m", "256M",
 	"-net", "none",
 	"-no-reboot",
-	"-fsdev", "local,id=fsdev-root,path=/,readonly,security_model=none,"
+	"-fsdev", "local,id=fsdev-root,path=/,readonly=on,security_model=none,"
 	"multidevs=remap",
 	"-device", "virtio-9p-pci,fsdev=fsdev-root,mount_tag=/dev/root",
 	"-chardev", "stdio,id=con,mux=on",