From mboxrd@z Thu Jan 1 00:00:00 1970 From: Konrad Rzeszutek Wilk Subject: Re: notification in xen Date: Thu, 10 May 2012 11:37:17 -0400 Message-ID: <20120510153717.GD6389@phenom.dumpdata.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Nupur Ghatnekar Cc: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org 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@lists.xen.org > http://lists.xen.org/xen-devel