Add arch to the qemu control socket
authorRalph Ronnquist <rrq@rrq.au>
Wed, 18 Sep 2024 13:05:14 +0000 (23:05 +1000)
committerRalph Ronnquist <rrq@rrq.au>
Wed, 18 Sep 2024 13:05:14 +0000 (23:05 +1000)
vm.sh

diff --git a/vm.sh b/vm.sh
index 00a0fcdd7c470a423763cd91fd4b0656daf68a27..c14b755e106a175b03f7b80706af0e71630bca4a 100755 (executable)
--- a/vm.sh
+++ b/vm.sh
@@ -49,7 +49,7 @@ ARGS=(
     -serial stdio
     # qemu monitor interface
     -chardev socket,id=QEMU,server=on,wait=off,path=QEMU
-    -mon chardev=QEMU,mode=readline
+    -mon chardev=QEMU-$ARCH,mode=readline
     # graphics setup
     -nographic
     # harddrive setup