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