From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jeremy Fitzhardinge Subject: Re: Handle for events? Date: Wed, 29 Sep 2010 10:16:10 -0700 Message-ID: <4CA3745A.10900@goop.org> References: <4CA36471.5040503@goop.org> <4CA36965.4040208@goop.org> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: "Srujan D. Kotikela" Cc: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org On 09/29/2010 09:34 AM, Srujan D. Kotikela wrote: > Sorry, > > But from what I read I may not get notifications on /dev/xen/evtchn if > my xen-evtchn module is not functioning. However if it is statically > compiled it wont be found as a module. I can confirm it's working by > checking if there are directories in my /proc/xen > > correct me if I am wrong. /proc/xen is irrelevant to xen-evtchn; you would not expect to see any changes in /proc/xen as a result of xen-evtchn being present or absent. > > I am calling notify() and I am getting a return value 0 but no > notification mesages in /dev/xen/evtchn You should look carefully at the existing examples of how to use that device to see where you're going wrong. J