]> git.proxmox.com Git - qemu.git/commit - qemu-config.c
Allow -serial chardev:<name>
authorGerd Hoffmann <kraxel@redhat.com>
Thu, 10 Sep 2009 08:58:52 +0000 (10:58 +0200)
committerAnthony Liguori <aliguori@us.ibm.com>
Fri, 11 Sep 2009 15:19:49 +0000 (10:19 -0500)
commitc845f401497ff0995ece2b3df628808cf6d74dbe
tree7d18514ad5264799715afa2fd4efece0612cf73a
parent7e1b35b44c26fb0ede72613608e1a6fddabfac75
Allow -serial chardev:<name>

Lets put -chardev into use now.  With this patch applied chardev:name is
accepted as chardev specification everywhere, i.e. now you can:

-chardev stdio,id=ttyS0
-serial chardev:ttyS0

which does the same as '-serial stdio".

Muxing can be done this way:

-chardev stdio,id=mux,mux=on
-serial chardev:mux
-monitor chardev:mux

You can mux more than two streams.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
qemu-char.c
qemu-char.h
qemu-config.c