This is returning /local/domain/0 to domain 2. Is this something anyone has tried? I am wondering if I am hitting something that was never tested. I kind of zoned out a few years ago when xenstore was being set up, but I am a little surprised it''s not a bit more like a file system name space. Was there a reason for this? thanks ron _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
On Fri, Dec 08, 2006 at 01:56:55PM -0700, ron minnich wrote:> This is returning /local/domain/0 to domain 2. > > Is this something anyone has tried? I am wondering if I am hitting > something that was never tested.Do you mean XS_GET_DOMAIN_PATH, the Xenstored message? This takes a domid, so if you''re getting /local/domain/0 out, then you almost certainly are putting 0 in. If you want to read /local/domain/N/something from domain N, then you can just do xs_read("something"), as each domain has an implicit prefix of /local/domain/N if they read using relative paths. Ewan. _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
On 12/8/06, Ewan Mellor <ewan@xensource.com> wrote:> Do you mean XS_GET_DOMAIN_PATH, the Xenstored message? This takes a domid, so > if you''re getting /local/domain/0 out, then you almost certainly are putting 0 > in. > > If you want to read /local/domain/N/something from domain N, then you can just > do xs_read("something"), as each domain has an implicit prefix of > /local/domain/N if they read using relative paths.thanks. we''re looking at writing a 9p server for the xenstore and I am just feeling my way around at this point. Thanks for the guidance. ron _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel