From: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
To: Kuriakose Mathew <kmathew123@gmail.com>
Cc: xen-devel@lists.xensource.com
Subject: Re: how to read value from xenstore inside kernel
Date: Mon, 17 Aug 2009 10:38:27 -0400 [thread overview]
Message-ID: <20090817143826.GA4551@phenom.dumpdata.com> (raw)
In-Reply-To: <9e81bde0908162340h42011f5cn7606c962fda89da4@mail.gmail.com>
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@lists.xensource.com
> http://lists.xensource.com/xen-devel
next prev parent reply other threads:[~2009-08-17 14:38 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-08-17 6:40 how to read value from xenstore inside kernel Kuriakose Mathew
2009-08-17 14:38 ` Konrad Rzeszutek Wilk [this message]
2009-08-17 17:55 ` Kuriakose Mathew
2009-08-17 18:20 ` Konrad Rzeszutek Wilk
2009-08-25 10:57 ` Kuriakose Mathew
2009-08-25 11:07 ` James Harper
2009-08-25 12:44 ` Kuriakose Mathew
2009-08-25 12:46 ` James Harper
2009-08-28 8:52 ` Kuriakose Mathew
2009-08-28 9:07 ` James Harper
2009-08-28 11:41 ` Kuriakose Mathew
2009-08-28 11:44 ` James Harper
2009-08-28 11:51 ` Kuriakose Mathew
2009-08-28 11:57 ` James Harper
2009-08-28 14:39 ` Kuriakose Mathew
2009-08-29 15:01 ` Kuriakose Mathew
2009-08-29 15:38 ` Kuriakose Mathew
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20090817143826.GA4551@phenom.dumpdata.com \
--to=konrad.wilk@oracle.com \
--cc=kmathew123@gmail.com \
--cc=xen-devel@lists.xensource.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.