qemu-patch-raspberry4/chardev
Markus Armbruster 6ade45f2ac char-pty: Print "char device redirected" message to stdout
char_pty_open() prints a "char device redirected to PTY_NAME (label
LABEL)" message to the current monitor or else to stderr.  This is not
an error, so it shouldn't go to stderr.  Print it to stdout instead.

Why is it even printed?  No other ChardevClass::open() prints anything
on success.  It's because you need to know PTY_NAME to actually use
this char device, e.g. like e.g. "socat STDIO,cfmakeraw FILE:PTY_NAME"
to use the monitor's readline interface.  You can get PTY_NAME with
"info chardev" (a.k.a. query-chardev for QMP), but only if you already
have a monitor.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Message-Id: <20190417190641.26814-15-armbru@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
2019-04-18 22:18:59 +02:00
..
baum.c
char-console.c
char-fd.c
char-fe.c char: update the mux handlers in class callback 2019-02-13 15:36:14 +01:00
char-file.c
char-io.c chardev: use a child source for qio input source 2018-10-03 14:45:05 +04:00
char-mux.c char: update the mux handlers in class callback 2019-02-13 15:36:14 +01:00
char-null.c
char-parallel.c
char-pipe.c
char-pty.c char-pty: Print "char device redirected" message to stdout 2019-04-18 22:18:59 +02:00
char-ringbuf.c
char-serial.c chardev: ensure termios is fully initialized 2019-02-12 17:35:56 +01:00
char-socket.c socket: allow wait=false for client socket 2019-04-16 10:40:43 +01:00
char-stdio.c chardev: don't splatter terminal settings on exit if not previously set 2018-06-28 19:05:30 +02:00
char-udp.c
char-win-stdio.c
char-win.c
char.c char: Make -chardev help print to stdout 2019-04-18 22:18:59 +02:00
Makefile.objs
msmouse.c
spice.c char: register spice ports after spice started 2019-02-21 14:09:17 +01:00
testdev.c
trace-events trace-events: Shorten file names in comments 2019-03-22 16:18:07 +00:00
wctablet.c chardev/wctablet: Fix a typo 2019-02-13 14:31:31 +01:00