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

To: John Levon <levon@xxxxxxxxxxxxxxxxx>, Ian Jackson <Ian.Jackson@xxxxxxxxxxxxx>
Subject: Re: [Xen-devel] xenstore and "my domid" on hvm guest
From: Keir Fraser <keir.fraser@xxxxxxxxxxxxx>
Date: Thu, 22 May 2008 13:39:23 +0100
Cc: "dan.magenheimer@xxxxxxxxxx" <dan.magenheimer@xxxxxxxxxx>, "Xen-Devel \(E-mail\)" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Thu, 22 May 2008 05:40:01 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <20080522114008.GA4755@xxxxxxxxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: Aci8CNzJG2OHRCf8Ed2anQAX8io7RQ==
Thread-topic: [Xen-devel] xenstore and "my domid" on hvm guest
User-agent: Microsoft-Entourage/11.4.0.080122
On 22/5/08 12:40, "John Levon" <levon@xxxxxxxxxxxxxxxxx> wrote:

>>> 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:
> 
> Which would work great if the tools understood:
> 
> xenstore-ls .
> 
> but unfortunately they don't, so you have to guess the names of the
> top-level directories

That's quite a separate issue and could be quite easily fixed. E.g., by
supporting the special single-character directory path '.', if anyone cared
sufficiently about this limitation.

 -- Keir



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