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

Re: [Xen-devel] notification in xen



On Wed, Mar 21, 2012 at 11:50:48AM +0530, Nupur Ghatnekar wrote:
> hey,
> For event notification there are 2 functions that i came across.
> 
> notify_remote_via_irq(int irq)
> notify_remote_via_evtchn(int port)
> 
> I tried to use those, but didnt know how to check whether notification has
> occurred. Is there a way in which i can check the success of the commands.

You should also use 'request_irq' to bind yourself to the IRQ number.
That way your handler would awake when it is done.

Look at how the existing front and backend drivers do it.

> 
> Thanks.
> 
> -- 
> 
> Nupur Ghatnekar

> _______________________________________________
> Xen-devel mailing list
> Xen-devel@xxxxxxxxxxxxx
> http://lists.xen.org/xen-devel


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

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