summaryrefslogtreecommitdiff
path: root/boot
diff options
context:
space:
mode:
authordzwdz2023-09-09 16:55:10 +0200
committerdzwdz2023-09-09 16:55:10 +0200
commit73ea9f2e3556dd753b32ac4a2c34581a4126eab1 (patch)
treeeaf1de55ce6bfec249daee99485bb10f3ce473cd /boot
parent4516acc2814de7e1420109a9469600a5607eb984 (diff)
kernel: gracefully handle no serial port
Diffstat (limited to 'boot')
-rwxr-xr-xboot3
1 files changed, 3 insertions, 0 deletions
diff --git a/boot b/boot
index cb1c4a7..a1d3b8b 100755
--- a/boot
+++ b/boot
@@ -47,6 +47,9 @@ for opt; do
QTTY="-serial pipe:out/qemu"
POST="cat out/qemu.out"
;;
+ --no-serial)
+ QTTY="-serial none"
+ ;;
*)
echo "unknown option $opt"
exit 1