aboutsummaryrefslogtreecommitdiff
path: root/test-machine-m1
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2022-10-04 05:12:27 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2022-10-04 05:12:27 +0200
commita33882dfc0b3323877faf6c484418e88a675ef14 (patch)
treebccbe7ec8e51827f5f48850bc315fae8e73db621 /test-machine-m1
parent3bd5a11a703cbbc9c02438f2b55873cbba66513e (diff)
Fixup (VNC)
Diffstat (limited to 'test-machine-m1')
-rwxr-xr-xtest-machine-m110
1 files changed, 4 insertions, 6 deletions
diff --git a/test-machine-m1 b/test-machine-m1
index 9f07c3d..695426c 100755
--- a/test-machine-m1
+++ b/test-machine-m1
@@ -14,6 +14,7 @@
# - Replaced -usb (EHCI) with -device qemu-xhci (XHCI).
# - Added virtio-gpu-pci (otherwise no graphical output).
# - Added usb-kbd (otherwise no keyboard).
+# - Note: position of netdev dictates enp0sN name, so keep first PCI device.
# - Must run on either P or E cores (https://gitlab.com/qemu-project/qemu/-/issues/1002)
# - On M1 0-3 are E, 4-7 are P (lscpu, lscpu -e)
#
@@ -79,12 +80,6 @@ else
tap="$etap"
fi
-# Can be used instead of -vnc:
-#
-#-device virtio-gpu-pci \
-#-display default,show-cursor=on \
-#
-
"${kvm[@]}" \
-machine virt \
\
@@ -104,6 +99,9 @@ fi
-device usb-kbd \
-device usb-tablet \
\
+ -device virtio-gpu-pci \
+ -display default,show-cursor=on \
+ \
-vnc :1 \
\
-chardev stdio,id=qmp \