From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:47712) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vu0Oo-0008RO-TI for qemu-devel@nongnu.org; Fri, 20 Dec 2013 08:46:00 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Vu0Od-0004Cc-Ok for qemu-devel@nongnu.org; Fri, 20 Dec 2013 08:45:54 -0500 Received: from mout.gmx.net ([212.227.17.21]:63699) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vu0Od-0004CK-Bs for qemu-devel@nongnu.org; Fri, 20 Dec 2013 08:45:43 -0500 Received: from zaphod.peppercon.de ([212.80.250.50]) by mail.gmx.com (mrgmx102) with ESMTPSA (Nemesis) id 0M9vnQ-1VnQpY0fEW-00B2Z4 for ; Fri, 20 Dec 2013 14:45:41 +0100 From: Ingo van Lil Date: Fri, 20 Dec 2013 14:44:53 +0100 Message-Id: <1387547093-14591-1-git-send-email-inguin@gmx.de> Subject: [Qemu-devel] [PATCH] doc: Mention chardev:id in available devices for -serial List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: qemu-trivial@nongnu.org, Ingo van Lil , Stefan Hajnoczi , Anthony Liguori , Markus Armbruster 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 --- qemu-options.hx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/qemu-options.hx b/qemu-options.hx index bcfe9ea..56e5fdf 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. -- 1.8.3.1