[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [RFC v1 3/3] char-socket: Report TCP socket waiting as a wa
From: |
Alistair Francis |
Subject: |
[Qemu-devel] [RFC v1 3/3] char-socket: Report TCP socket waiting as a warning |
Date: |
Tue, 27 Jun 2017 13:45:48 -0700 |
When QEMU is waiting for a TCP socket connection it reports that message as
an error. This isn't an error it is a warnign so let's change the report to
use warning_report() instead.
Signed-off-by: Alistair Francis <address@hidden>
---
chardev/char-socket.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/chardev/char-socket.c b/chardev/char-socket.c
index ccc499cfa1..5a56628e74 100644
--- a/chardev/char-socket.c
+++ b/chardev/char-socket.c
@@ -765,7 +765,7 @@ 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",
+ warning_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);
--
2.11.0
[Qemu-devel] [RFC v1 3/3] char-socket: Report TCP socket waiting as a warning,
Alistair Francis <=
Re: [Qemu-devel] [RFC v1 0/3] Implement a warning_report function, Daniel P. Berrange, 2017/06/28