From: Ian Jackson Subject: Re: xenstore and "my domid" on hvm guest Date: Thu, 22 May 2008 10:37:00 +0100 Message-ID: <18485.16060.272711.705123@mariner.uk.xensource.com> References: <20080521140311578.00000007168@djm-pc> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Keir Fraser Cc: "dan.magenheimer@oracle.com" , "Xen-Devel (E-mail)" List-Id: xen-devel@lists.xenproject.org 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.