]> xenbits.xensource.com Git - people/sstabellini/linux-pvhvm-deprecated.git/commitdiff
HACK: make xenboot_write_console always call dom0_write_console
authorStefano Stabellini <stefano.stabellini@eu.citrix.com>
Fri, 22 Jun 2012 15:32:08 +0000 (15:32 +0000)
committerStefano Stabellini <stefano.stabellini@eu.citrix.com>
Fri, 22 Jun 2012 15:32:08 +0000 (15:32 +0000)
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 <stefano.stabellini@eu.citrix.com>
drivers/tty/hvc/hvc_xen.c

index 6b8f97c3918dd3256610db719f5722e7bed5c3ea..3ae96a96372ce1653f89bce43f16701e6f42cac5 100644 (file)
@@ -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'))) {