WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] xenstore and "my domid" on hvm guest

Keir Fraser writes ("Re: [Xen-devel] xenstore and "my domid" on hvm guest"):
> I think xenstore accesses in a domU have a 'current working directory' of
> /local/domain/<domid>/. What happens if you try accesses without an initial
> / in the path?

Yes, exactly.  This is covered in docs/misc/xenstore.txt:

  Values commonly included in payloads include:

      <path>
          Specifies a path in the hierarchical key structure.
          If <path> starts with a / it simply represents that path.

          <path> is allowed not to start with /, in which case the
          caller must be a domain (rather than connected via a socket)
          and the path is taken to be relative to /local/domain/<domid>
          (eg, `x/y' sent by domain 3 would mean `/local/domain/3/x/y').

Ian.

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