From mboxrd@z Thu Jan 1 00:00:00 1970 From: Konrad Rzeszutek Wilk Subject: Re: how to read value from xenstore inside kernel Date: Mon, 17 Aug 2009 14:20:23 -0400 Message-ID: <20090817182023.GA6144@phenom.dumpdata.com> References: <9e81bde0908162340h42011f5cn7606c962fda89da4@mail.gmail.com> <20090817143826.GA4551@phenom.dumpdata.com> <9e81bde0908171055q5504683cm19cb2c70e24dfb88@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <9e81bde0908171055q5504683cm19cb2c70e24dfb88@mail.gmail.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Kuriakose Mathew Cc: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org On Mon, Aug 17, 2009 at 11:25:36PM +0530, Kuriakose Mathew wrote: > Thanks for the response. > But I want the value to be read in netback.c . I checked the > drivers/xen/netback/xenbus.c > and found some functions using xenbus_scanf . But couldn't find where these > functions are getting called. I recommend you get acquinted with 'cscope' and run under your linux directory this command: 'make cscope' to create the cscope files. Then look for xenbus_scanf. > Whether it will be possible to directly call xenbus_scanf directly in > netback.c ? I want a value in xenstore to be read in some function in Yes, if you have all of the #include files set right. > netback.c.