[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] back/frontend drivers HelloWorld




On 23 Sep 2005, at 12:37, NAHieu wrote:

Yes, it is. But looks like xenstore is the only way to "notify"
between userspace applications (like one runs in domU and another runs
in dom0). Or there is another good solution ?

You can execute all the event-channel binding and sending commands via libxenctrl (see the interfaces defintiions in xenctrl.h).

You can receive asynchronous notifications via /dev/xen/evtchn. You execute a special ioctl to bind to particular event-channel ports, then you can read() from the device to read ports that have notifications pending, or you can add the fd to a select loop(), or you can set FASYNC and get SIGIO when there are notifications pending.

 -- Keir


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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.