run_qemu.sh: add comment with an example of how to connect to qemu serial unix socket

This commit is contained in:
Johannes 'josch' Schauer 2018-12-30 17:14:15 +01:00
parent c670f51826
commit 643152ec16
Signed by untrusted user: josch
GPG key ID: F2CBA5C78FBD83E1

View file

@ -30,6 +30,8 @@ KVM=
if [ -e /dev/kvm ]; then if [ -e /dev/kvm ]; then
KVM="-enable-kvm" KVM="-enable-kvm"
fi fi
# to connect to serial use:
# minicom -D 'unix#/tmp/ttyS0'
qemu-system-x86_64 $KVM -m 512M -nographic \ qemu-system-x86_64 $KVM -m 512M -nographic \
-monitor unix:/tmp/monitor,server,nowait \ -monitor unix:/tmp/monitor,server,nowait \
-serial unix:/tmp/ttyS0,server,nowait \ -serial unix:/tmp/ttyS0,server,nowait \