]> git.proxmox.com Git - mirror_qemu.git/commit - qemu-char.c
qemu-char: Permit only a single "stdio" character device
authorLi Liu <john.liuli@huawei.com>
Tue, 9 Sep 2014 11:19:48 +0000 (19:19 +0800)
committerMichael Tokarev <mjt@tls.msk.ru>
Sat, 20 Sep 2014 13:55:53 +0000 (17:55 +0400)
commitc88930a6866e74953e931ae749781e98e486e5c8
tree9bb00517d6cf4bf55a84edc6147c8329ae95b9a4
parent07e2863d0271ac6c05206d8ce9e4f4c39b25d3ea
qemu-char: Permit only a single "stdio" character device

When more than one is used, the terminal settings aren't restored
correctly on exit.  Fixable.  However, such usage makes no sense,
because the users race for input, so outlaw it instead.

If you want to connect multiple things to stdio, use the mux
chardev.

Signed-off-by: Li Liu <john.liuli@huawei.com>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
qemu-char.c