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] How does hypervisor handle the hypercalls fromguest OSes

To: "K.C. Chiu" <B8844014@xxxxxxxxxxxxxxxxx>
Subject: Re: [Xen-devel] How does hypervisor handle the hypercalls fromguest OSes?
From: Ian Pratt <Ian.Pratt@xxxxxxxxxxxx>
Date: Tue, 11 May 2004 07:18:09 +0100
Cc: rolf.neugebauer@xxxxxxxxx, xen-devel@xxxxxxxxxxxxxxxxxxxxx, Ian.Pratt@xxxxxxxxxxxx
Delivery-date: Tue, 11 May 2004 07:20:17 +0100
Envelope-to: steven.hand@xxxxxxxxxxxx
In-reply-to: Your message of "Tue, 11 May 2004 10:53:49 +0800." <004601c43703$3435ff00$d27519a3@linuxnxhc0axvc>
List-archive: <http://sourceforge.net/mailarchive/forum.php?forum=xen-devel>
List-help: <mailto:xen-devel-request@lists.sourceforge.net?subject=help>
List-id: List for Xen developers <xen-devel.lists.sourceforge.net>
List-post: <mailto:xen-devel@lists.sourceforge.net>
List-subscribe: <https://lists.sourceforge.net/lists/listinfo/xen-devel>, <mailto:xen-devel-request@lists.sourceforge.net?subject=subscribe>
List-unsubscribe: <https://lists.sourceforge.net/lists/listinfo/xen-devel>, <mailto:xen-devel-request@lists.sourceforge.net?subject=unsubscribe>
Sender: xen-devel-admin@xxxxxxxxxxxxxxxxxxxxx
> But I have another question, how do I debug in the Xen hypervisor side?
> 
> Just "printk" ?

Connect something (e.g. another computer) to the serial console,
and boot Xen with serial console enabled.

As well as printk, Xen has a GDB stub. This is quite powerful,
and can be used for debugging domains and processes too.
 
> However I could not find out any print message in /var/log/message and the
> xen_read_console ?

"xen_dmesg.py" in dom0 will show you the console output from
*Xen*. (//var/log/messages and xen_read_console are domain
console tools).

For any serious debugging, get yourself a serial line. xen_dmesg
isn't much use if either Xen or domain 0 are already blown to bits.

BTW: What does your new hypercall do?

Ian


-------------------------------------------------------
This SF.Net email is sponsored by Sleepycat Software
Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to deliver
higher performing products faster, at low TCO.
http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/xen-devel