|
|
9ae3a8 |
From 5617925ceaeae6855991e5397e015e3230548605 Mon Sep 17 00:00:00 2001
|
|
|
9ae3a8 |
From: Gerd Hoffmann <kraxel@redhat.com>
|
|
|
9ae3a8 |
Date: Mon, 14 Oct 2013 13:35:15 +0200
|
|
|
9ae3a8 |
Subject: [PATCH 08/18] qemu-char: print notification to stderr
|
|
|
9ae3a8 |
|
|
|
9ae3a8 |
RH-Author: Gerd Hoffmann <kraxel@redhat.com>
|
|
|
9ae3a8 |
Message-id: <1381757723-23134-8-git-send-email-kraxel@redhat.com>
|
|
|
9ae3a8 |
Patchwork-id: 54851
|
|
|
9ae3a8 |
O-Subject: [RHEL-7 qemu-kvm PATCH 07/15] qemu-char: print notification to stderr
|
|
|
9ae3a8 |
Bugzilla: 922010
|
|
|
9ae3a8 |
RH-Acked-by: Hans de Goede <hdegoede@redhat.com>
|
|
|
9ae3a8 |
RH-Acked-by: Laszlo Ersek <lersek@redhat.com>
|
|
|
9ae3a8 |
RH-Acked-by: Paolo Bonzini <pbonzini@redhat.com>
|
|
|
9ae3a8 |
|
|
|
9ae3a8 |
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
|
|
|
9ae3a8 |
Reviewed-by: Laszlo Ersek <lersek@redhat.com>
|
|
|
9ae3a8 |
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
|
|
|
9ae3a8 |
(cherry picked from commit fdca2124adc293f84f2b7aaf0df43faa6b6bf420)
|
|
|
9ae3a8 |
---
|
|
|
9ae3a8 |
qemu-char.c | 4 ++--
|
|
|
9ae3a8 |
1 file changed, 2 insertions(+), 2 deletions(-)
|
|
|
9ae3a8 |
|
|
|
9ae3a8 |
Signed-off-by: Miroslav Rezanina <mrezanin@redhat.com>
|
|
|
9ae3a8 |
---
|
|
|
9ae3a8 |
qemu-char.c | 4 ++--
|
|
|
9ae3a8 |
1 files changed, 2 insertions(+), 2 deletions(-)
|
|
|
9ae3a8 |
|
|
|
9ae3a8 |
diff --git a/qemu-char.c b/qemu-char.c
|
|
|
9ae3a8 |
index f783a87..62fafb0 100644
|
|
|
9ae3a8 |
--- a/qemu-char.c
|
|
|
9ae3a8 |
+++ b/qemu-char.c
|
|
|
9ae3a8 |
@@ -2686,8 +2686,8 @@ static CharDriverState *qemu_chr_open_socket_fd(int fd, bool do_nodelay,
|
|
|
9ae3a8 |
}
|
|
|
9ae3a8 |
|
|
|
9ae3a8 |
if (is_listen && is_waitconnect) {
|
|
|
9ae3a8 |
- printf("QEMU waiting for connection on: %s\n",
|
|
|
9ae3a8 |
- chr->filename);
|
|
|
9ae3a8 |
+ fprintf(stderr, "QEMU waiting for connection on: %s\n",
|
|
|
9ae3a8 |
+ chr->filename);
|
|
|
9ae3a8 |
tcp_chr_accept(s->listen_chan, G_IO_IN, chr);
|
|
|
9ae3a8 |
qemu_set_nonblock(s->listen_fd);
|
|
|
9ae3a8 |
}
|
|
|
9ae3a8 |
--
|
|
|
9ae3a8 |
1.7.1
|
|
|
9ae3a8 |
|