Skip to contentSkip to conversation

Hypercall from Hvm Guest

DISCUSSION Koripella Srinivas 3 participants 3 messages Jun 22, 2007

lore
Share & tools
lore
#1 lore raw

Of course you can.

You can take the codes in unmodified_drivers/ as examples.

-- Dexuan

________________________________

From: [email protected] [mailto:[email protected]] On Behalf Of Koripella Srinivas
Sent: 2007年6月22日 18:41
To: [email protected]
Subject: [Xen-devel] Hypercall from Hvm Guest

Can i make hypercalls from a HVM Guest?
I want to write a module in Linux and make hvm calls from that module. Is it possible?

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

#2 lore raw
In reply to Koripella Srinivas
Quoted 11 lines

-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Koripella Srinivas
Sent: 22 June 2007 11:41
To: [email protected]
Subject: [Xen-devel] Hypercall from Hvm Guest

Can i make hypercalls from a HVM Guest?

Yes.

Quoted 1 line

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.

Quoted 1 line

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

Quoted 9 lines

Thanks

________________________________

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