[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] Easy user-space usage of xenstore
On Fri, Jun 30, 2006 at 10:34:45AM -0400, Rian Hunter wrote: > > On Jun 30, 2006, at 8:29 AM, Vincent Hanquez wrote: > >you can access /local/domain/<self>/.. by just using relative path > >instead > >of absolute path. > > > >ex: if you want to read /local/domain/5/something/x from domain 5 > >you can > >just do : > > > >value = xs_read("something/x"); > > Oh can I? That's what I thought except when I do: > > $ xenstore-read something > > it fails. Maybe that's because xenstore-read always does an absolute > path. I've read the source and it doesn't seem that way, I'll guess > I'll try writing a program that uses the xs library to be sure. It probably fails because of permissions -- you can only read what the tools in domain 0 have explicitly allowed you to read. I've just added some notes to the XenBus page on the wiki wrt permissions -- they are worth reading. Ewan. _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |