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

Re: [Xen-devel] how to read value from xenstore inside kernel



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.

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel


 


Rackspace

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