From c3aa679feca18a3decb7795c03ffddf118d2311d Mon Sep 17 00:00:00 2001 From: Johannes Schauer Marin Rodrigues Date: Thu, 17 Nov 2022 11:35:43 +0100 Subject: [PATCH] run_qemu.sh: short-form boolean option 'read-only' deprecated, using read-only=on instead --- run_qemu.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/run_qemu.sh b/run_qemu.sh index 1efcd20..3e9810e 100755 --- a/run_qemu.sh +++ b/run_qemu.sh @@ -63,7 +63,7 @@ timeout --foreground 40m qemu-system-"$QEMUARCH" \ -serial unix:/tmp/ttyS0,server,nowait \ -serial unix:/tmp/ttyS1,server,nowait \ -net nic,model=virtio -net user \ - -drive if=pflash,format=raw,unit=0,read-only,file="$CODE" \ + -drive if=pflash,format=raw,unit=0,read-only=on,file="$CODE" \ -virtfs local,id=mmdebstrap,path="$(pwd)/shared",security_model=none,mount_tag=mmdebstrap \ -drive file="$tmpdir/debian-$DEFAULT_DIST-overlay.qcow",cache=unsafe,index=0,if=virtio \ >"$tmpdir/log" 2>&1 || ret=$?