]> git.ipfire.org Git - thirdparty/qemu.git/commitdiff
char-socket: Report TCP socket waiting as information
authorAlistair Francis <alistair.francis@xilinx.com>
Wed, 12 Jul 2017 13:57:48 +0000 (06:57 -0700)
committerMarkus Armbruster <armbru@redhat.com>
Thu, 13 Jul 2017 11:50:09 +0000 (13:50 +0200)
When QEMU is waiting for a TCP socket connection it reports that message as
an error. This isn't an error it is just information so let's change the
report to use info_report() instead.

Signed-off-by: Alistair Francis <alistair.francis@xilinx.com>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-Id: <b3f3601c52843afca9a9b12c7a4fefd68e60de32.1499866456.git.alistair.francis@xilinx.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
chardev/char-socket.c

index ccc499cfa1e29c31c70c9f4b811ede0ee2951d49..a050a686ea34b81e084869beeaa31aea0670660e 100644 (file)
@@ -765,8 +765,8 @@ static int tcp_chr_wait_connected(Chardev *chr, Error **errp)
      * in TLS and telnet cases, only wait for an accepted socket */
     while (!s->ioc) {
         if (s->is_listen) {
-            error_report("QEMU waiting for connection on: %s",
-                         chr->filename);
+            info_report("QEMU waiting for connection on: %s",
+                        chr->filename);
             qio_channel_set_blocking(QIO_CHANNEL(s->listen_ioc), true, NULL);
             tcp_chr_accept(QIO_CHANNEL(s->listen_ioc), G_IO_IN, chr);
             qio_channel_set_blocking(QIO_CHANNEL(s->listen_ioc), false, NULL);