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

[Xen-devel] How does hypervisor handle the hypercalls from guest OSes?

To: <xen-devel@xxxxxxxxxxxxxxxxxxxxx>
Subject: [Xen-devel] How does hypervisor handle the hypercalls from guest OSes?
From: "K.C. Chiu" <B8844014@xxxxxxxxxxxxxxxxx>
Date: Mon, 10 May 2004 21:55:40 +0800
Delivery-date: Mon, 10 May 2004 14:59:09 +0100
Envelope-to: steven.hand@xxxxxxxxxxxx
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
Hi All !!
 
I'm trying to encapsulate some operations into "hypercall" and pass the hypercall into hypervisor.
 
But I cannot find out how the hypervisor to deal with hypercalls from guest OSes.
 
I find a function "do_dom0_op" in xeno-1.2.bk/xen/common/dom0_ops.c.
 
It looks like the function which would deal with hypercalls .
 
and I try to modify the code in do_dom0_op to handle my new hypercall, but I failed.
 
can someone tell me how does hypervisor handle the hypercalls from guest OSes?
 
Cheers
 
-- C.K. Chiu , Taiwan