From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ben Thomas Subject: [PATCH] 14287 followup - console Date: Mon, 12 Mar 2007 16:14:16 -0400 Message-ID: <45F5B498.7010108@virtualiron.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="------------050505080006090307060703" Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org This is a multi-part message in MIME format. --------------050505080006090307060703 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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 --------------050505080006090307060703 Content-Type: text/x-patch; name="xen-console.patch" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="xen-console.patch" 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; --------------050505080006090307060703 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --------------050505080006090307060703--