|
|
|
|
|
|
|
|
|
|
xen-devel
Re: [Xen-devel] how to read value from xenstore inside kernel
On Mon, Aug 17, 2009 at 12:10:21PM +0530, Kuriakose Mathew wrote:
> Can someone please point me to a code( or help me to find some code)where a
> value corresponding to a key is read from Xenstore inside the kernel . My
> requirement is to read a xenstore value from netback.c .
In drivers/xen/blkback/xenbus.c, the function backend_changed exclusivy job is
to read those values. Here is an example:
278 err = xenbus_scanf(XBT_NIL, dev->nodename, "physical-device",
"%x:%x",
279 &major, &minor);
I would recommend you get a copy of "Understanding Xen" to understand how
XenStore "transfers" the data from one domain to another.
>
> Thanks
> Mathew
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-devel
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
|
|
|
|