From bcb3fcdaf146fafec59c8e85b388f96c6fa538c8 Mon Sep 17 00:00:00 2001 From: Johannes Schauer Marin Rodrigues Date: Sun, 16 Oct 2022 15:31:05 +0200 Subject: [PATCH] run_qemu.sh: add another example for how to connect to qemu via serial --- run_qemu.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/run_qemu.sh b/run_qemu.sh index d8a0917..faa4f3a 100755 --- a/run_qemu.sh +++ b/run_qemu.sh @@ -30,6 +30,9 @@ trap cleanup INT TERM EXIT qemu-img create -f qcow2 -b "$(realpath $cachedir)/debian-$DEFAULT_DIST.qcow" -F qcow2 "$tmpdir/debian-$DEFAULT_DIST-overlay.qcow" # to connect to serial use: # minicom -D 'unix#/tmp/ttyS0' +# +# or this (quit with ctrl+q): +# socat stdin,raw,echo=0,escape=0x11 unix-connect:/tmp/ttyS0 ret=0 timeout --foreground 20m qemu-system-x86_64 \ -cpu host \