From 309f1957495f73be161bb6ab76bd69cb15e76e6e Mon Sep 17 00:00:00 2001 From: Pekka Enberg Date: Sat, 8 Jan 2011 14:50:32 +0200 Subject: [PATCH] kvm: Redirect serial console to stdout, not stderr Signed-off-by: Pekka Enberg --- tools/kvm/early_printk.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/kvm/early_printk.c b/tools/kvm/early_printk.c index 0683c299e276..6087976a4093 100644 --- a/tools/kvm/early_printk.c +++ b/tools/kvm/early_printk.c @@ -19,9 +19,9 @@ static bool early_serial_txr_out(struct kvm *self, uint16_t port, void *data, in while (count--) { for (i = 0; i < size; i++) - fprintf(stderr, "%c", *p++); + fprintf(stdout, "%c", *p++); } - fflush(stderr); + fflush(stdout); return true; } -- 2.39.5