From: Ben Thomas <bthomas@virtualiron.com>
To: xen-devel@lists.xensource.com
Subject: [PATCH] 14287 followup - console
Date: Mon, 12 Mar 2007 16:14:16 -0400 [thread overview]
Message-ID: <45F5B498.7010108@virtualiron.com> (raw)
[-- 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
next reply other threads:[~2007-03-12 20:14 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-03-12 20:14 Ben Thomas [this message]
2007-03-13 9:33 ` [PATCH] 14287 followup - console Keir Fraser
2007-03-13 12:24 ` Ben Thomas
2007-03-13 13:18 ` Keir Fraser
2007-03-14 12:40 ` Ben Thomas
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=45F5B498.7010108@virtualiron.com \
--to=bthomas@virtualiron.com \
--cc=xen-devel@lists.xensource.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.