WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

RE: [Xen-devel] getting debug output out of hvmloader and qemu-dm

To: "James Harper" <james.harper@xxxxxxxxxxxxxxxx>, "Kamala Narasimhan" <Kamala.Narasimhan@xxxxxxxxxx>, <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: RE: [Xen-devel] getting debug output out of hvmloader and qemu-dm
From: "Cui, Dexuan" <dexuan.cui@xxxxxxxxx>
Date: Thu, 3 Jul 2008 11:03:01 +0800
Cc:
Delivery-date: Wed, 02 Jul 2008 20:03:30 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <AEC6C66638C05B468B556EA548C1A77D0148FC9D@trantor>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <AEC6C66638C05B468B556EA548C1A77D0148FC8D@trantor><0519110A9448BC429B231AD118D7270804461B85@xxxxxxxxxxxxxxxxxxxxxx> <AEC6C66638C05B468B556EA548C1A77D0148FC9D@trantor>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcjcqQ5xMS0OLYZTQCqWCWj0vXkbuAADIf9wAABe9iAAAFp88A==
Thread-topic: [Xen-devel] getting debug output out of hvmloader and qemu-dm
hvmloader's outb to port 0xe9 is intercepted by Xen, and Xen will prink the 
messages:
hvm_domain_initialise() ->  register_portio_handler(d, 0xe9, 1, hvm_print_line);

You can use a debug build Xen, or specify the "guest_loglvl=all" parameter in 
grub.conf for Xen to see the messages printked by hvm_print_line().

-- Dexuan


-----Original Message-----
From: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx 
[mailto:xen-devel-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of James Harper
Sent: 2008年7月3日 10:48
To: Kamala Narasimhan; xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: RE: [Xen-devel] getting debug output out of hvmloader and qemu-dm

> If it is the *DEBUG* preprocessor flag in vgabios that you enabled,
did
> you check xen message buffer (xm dmesg) or serial output?

'xm dmesg' doesn't show me anything... how might I look at the serial
output?

Looking at vgabios.c, the 'printf' function that is used for debugging
appears to write to port 0xe9, but I can't see that anything actually
reads that.

James


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

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