From: Stefano Stabellini Date: Fri, 22 Jun 2012 15:32:08 +0000 (+0000) Subject: HACK: make xenboot_write_console always call dom0_write_console X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=a4bac651f8a43c788cab3c5eeb6ddb4cc4d83859;p=people%2Fsstabellini%2Flinux-pvhvm-deprecated.git HACK: make xenboot_write_console always call dom0_write_console We don't have a working early_con for HVM and ARM guests, so force xenboot_write_console to call dom0_write_console for now. Signed-off-by: Stefano Stabellini --- diff --git a/drivers/tty/hvc/hvc_xen.c b/drivers/tty/hvc/hvc_xen.c index 6b8f97c3918..3ae96a96372 100644 --- a/drivers/tty/hvc/hvc_xen.c +++ b/drivers/tty/hvc/hvc_xen.c @@ -608,13 +608,8 @@ static void xenboot_write_console(struct console *console, const char *string, unsigned int linelen, off = 0; const char *pos; - if (!xen_pv_domain()) - return; - dom0_write_console(0, string, len); - - if (xen_initial_domain()) - return; + return; domU_write_console(0, "(early) ", 8); while (off < len && NULL != (pos = strchr(string+off, '\n'))) {