All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] 14287 followup - console
@ 2007-03-12 20:14 Ben Thomas
  2007-03-13  9:33 ` Keir Fraser
  0 siblings, 1 reply; 5+ messages in thread
From: Ben Thomas @ 2007-03-12 20:14 UTC (permalink / raw)
  To: xen-devel

[-- Attachment #1: Type: text/plain, Size: 642 bytes --]

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@virtualiron.com)

-b

-- 
------------------------------------------------------------------------
Ben Thomas                                         Virtual Iron Software
bthomas@virtualiron.com                            Tower 1, Floor 2
978-849-1214                                       900 Chelmsford Street
                                                    Lowell, MA 01851

[-- Attachment #2: xen-console.patch --]
[-- Type: text/x-patch, Size: 596 bytes --]

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;

[-- Attachment #3: Type: text/plain, Size: 138 bytes --]

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2007-03-14 12:40 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-03-12 20:14 [PATCH] 14287 followup - console Ben Thomas
2007-03-13  9:33 ` Keir Fraser
2007-03-13 12:24   ` Ben Thomas
2007-03-13 13:18     ` Keir Fraser
2007-03-14 12:40       ` Ben Thomas

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.