summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIngo van Lil2013-12-20 14:44:53 +0100
committerMichael Tokarev2014-01-01 15:03:55 +0100
commit88e020e55e8fcfee0ca2428fb3654469abbd21ae (patch)
tree0dcf389ddde3aa46406f1984a06bed92b3c0d85c
parentconfigure: Python tests must be done before help message (diff)
downloadqemu-88e020e55e8fcfee0ca2428fb3654469abbd21ae.tar.gz
qemu-88e020e55e8fcfee0ca2428fb3654469abbd21ae.tar.xz
qemu-88e020e55e8fcfee0ca2428fb3654469abbd21ae.zip
doc: Mention chardev:id in available devices for -serial
It is possible to pre-define a character device with the -chardev option and reference its id as serial device. The man page does not mention this feature. Use case: Use stdio as serial, but do not terminate VM on Ctrl-C -chardev stdio,id=mystdio,signal=off -serial chardev:mystdio Signed-off-by: Ingo van Lil <inguin@gmx.de> Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
-rw-r--r--qemu-options.hx2
1 files changed, 2 insertions, 0 deletions
diff --git a/qemu-options.hx b/qemu-options.hx
index bcfe9eaa3e..56e5fdf1e0 100644
--- a/qemu-options.hx
+++ b/qemu-options.hx
@@ -2419,6 +2419,8 @@ vc:80Cx24C
No device is allocated.
@item null
void device
+@item chardev:@var{id}
+Use a named character device defined with the @code{-chardev} option.
@item /dev/XXX
[Linux only] Use host tty, e.g. @file{/dev/ttyS0}. The host serial port
parameters are set according to the emulated ones.