[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] [PATCH] 14287 followup - console



Part of the original submission that resulted in 14287 was to catch
all output to the console/vga. 14287, as committed, only captures
a portion of the console output. The attached patch allows capture of
the rest of the output.

Signed-off-by: Ben Thomas (ben@xxxxxxxxxxxxxxx)

-b

--
------------------------------------------------------------------------
Ben Thomas                                         Virtual Iron Software
bthomas@xxxxxxxxxxxxxxx                            Tower 1, Floor 2
978-849-1214                                       900 Chelmsford Street
                                                   Lowell, MA 01851
diff -r f136ed65b65a xen/drivers/char/console.c
--- a/xen/drivers/char/console.c        Fri Mar 09 14:52:13 2007 -0500
+++ b/xen/drivers/char/console.c        Fri Mar 09 15:17:07 2007 -0500
@@ -328,8 +328,12 @@ static long guest_console_write(XEN_GUES
 
         sercon_puts(kbuf);
 
-        for ( kptr = kbuf; *kptr != '\0'; kptr++ )
+        for ( kptr = kbuf; *kptr != '\0'; kptr++ ) {
             vga_putchar(*kptr);
+            putchar_console_ring(*kptr);
+        }
+
+        send_guest_global_virq(dom0, VIRQ_CON_RING);
 
         guest_handle_add_offset(buffer, kcount);
         count -= kcount;
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.