xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
* Hypervisor <-> dom0 userspace event channel
@ 2012-11-14 22:44 Razvan Cojocaru
  0 siblings, 0 replies; only message in thread
From: Razvan Cojocaru @ 2012-11-14 22:44 UTC (permalink / raw)
  To: xen-devel

Hello,

if the goal is establishing an event channel between the Xen HV and a
custom dom0 userspace application,

1. for the hypervisor code, would you recommend using the EVTCHNOP_*
hypercalls from xen/include/public/event_channel.h directly, or the
friendlier xen/include/xen/event.h functions? And for the userspace
tool, I'd use the xenctrl.h xc_evtchn_*() functions, correct?

2. what would be the best way of exposing the hypervisor event channel
port received from alloc_unbound_xen_event_channel() to the dom0
userspace application? Put it somewhere in the shared info page? I'm
assuming the XenStore is out of the question for this purpose, and
otherwise overkill.

3. what is the best way (most efficient, and Xen-friendly way) of
exposing HV data such as event channel ports or shared page mfns/pfns to
a custom dom0 userspace application?

Thanks,
Razvan

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2012-11-14 22:44 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-11-14 22:44 Hypervisor <-> dom0 userspace event channel Razvan Cojocaru

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).