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] 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