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] Hypercall from Hvm Guest

To: "Koripella Srinivas" <talkwithsrinivas@xxxxxxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: RE: [Xen-devel] Hypercall from Hvm Guest
From: "Petersson, Mats" <Mats.Petersson@xxxxxxx>
Date: Fri, 22 Jun 2007 12:48:26 +0200
Delivery-date: Fri, 22 Jun 2007 03:47:05 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <968676.72232.qm@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
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/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: Ace0ud/3Fjpd5wJJTxyYfsrwVK3veAAACOXw
Thread-topic: [Xen-devel] Hypercall from Hvm Guest
 

> -----Original Message-----
> From: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx 
> [mailto:xen-devel-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of 
> Koripella Srinivas
> Sent: 22 June 2007 11:41
> To: xen-devel@xxxxxxxxxxxxxxxxxxx
> Subject: [Xen-devel] Hypercall from Hvm Guest
> 
> Can i make hypercalls from a HVM Guest?

Yes. 
> I want to write a module in Linux and make hvm calls from that module.

Not sure what "HVM calls" are, but I guess you mean hypercalls. 

> Is it possible?

If my above guess on what you mean is correct, then yes. 

Note however that only SOME of the hypercalls are actually available to
HVM guests (mostly because they don't make sense, but some may simply be
that they weren't needed to implement the Network and block device
drivers that are available to HVM guests). See
.../xen/arch/x86/hvm/hvm.c for a list of the hypercalls implemented
(listed in hvm_hypercall{32,64}_table). 

You may want to have a look in the "unmodified_driver" directory in the
root of the xen source-tree. 

--
Mats
> 
> Thanks
> 
> 
> ________________________________
> 
> The DELETE button on Yahoo! Mail is unhappy. Know why? 
> <http://in.rd.yahoo.com/tagline_mail_1/*http://in.mail.yahoo.com/> 
> 



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

<Prev in Thread] Current Thread [Next in Thread>