From: "Dan Magenheimer" Subject: RE: xenstore and "my domid" on hvm guest Date: Thu, 22 May 2008 09:01:13 -0600 Message-ID: <20080522090113125.00000007168@djm-pc> References: <18485.16060.272711.705123@mariner.uk.xensource.com> Reply-To: "dan.magenheimer@oracle.com" Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Return-path: In-Reply-To: <18485.16060.272711.705123@mariner.uk.xensource.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Ian Jackson , Keir Fraser Cc: "Xen-Devel (E-mail)" List-Id: xen-devel@lists.xenproject.org Thanks much. Exactly what I was looking for! Dan > -----Original Message----- > From: Ian Jackson [mailto:Ian.Jackson@eu.citrix.com] > Sent: Thursday, May 22, 2008 3:37 AM > To: Keir Fraser > Cc: dan.magenheimer@oracle.com; Xen-Devel (E-mail) > Subject: 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//. 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: > = > > Specifies a path in the hierarchical key structure. > If starts with a / it simply represents that 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/ > (eg, `x/y' sent by domain 3 would mean `/local/domain/3/x/y'). > = > Ian. >