Commit 88e020e5 authored by Ingo van Lil's avatar Ingo van Lil Committed by Michael Tokarev

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

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: default avatarIngo van Lil <>
Signed-off-by: default avatarMichael Tokarev <>
parent f6f0b7d9
......@@ -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.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment