Hi On Mon, Apr 8, 2019 at 10:36 AM Markus Armbruster <arm...@redhat.com> wrote: > > char_pty_open() prints a "char device redirected to PTY_NAME (label > LABEL)" message to the current monitor or else to stderr. No other > ChardevClass::open() prints anything on success. Drop the message. > > Cc: "Marc-André Lureau" <marcandre.lur...@redhat.com> > Cc: Paolo Bonzini <pbonz...@redhat.com> > Signed-off-by: Markus Armbruster <arm...@redhat.com> > --- > chardev/char-pty.c | 2 -- > 1 file changed, 2 deletions(-) >
I guess that was printed for convenience. Allocated pty can be read from "info chardev", so I suppose we can make qemu more silent. Fine with me: Reviewed-by: Marc-André Lureau <marcandre.lur...@redhat.com> > diff --git a/chardev/char-pty.c b/chardev/char-pty.c > index b034332edd..a48d3e5d20 100644 > --- a/chardev/char-pty.c > +++ b/chardev/char-pty.c > @@ -211,8 +211,6 @@ static void char_pty_open(Chardev *chr, > qemu_set_nonblock(master_fd); > > chr->filename = g_strdup_printf("pty:%s", pty_name); > - error_printf("char device redirected to %s (label %s)\n", > - pty_name, chr->label); > > s = PTY_CHARDEV(chr); > s->ioc = QIO_CHANNEL(qio_channel_file_new_fd(master_fd)); > -- > 2.17.2 >