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] Easy user-space usage of xenstore

To: Vincent Hanquez <vincent.hanquez@xxxxxxxxxxxx>
Subject: Re: [Xen-devel] Easy user-space usage of xenstore
From: Rian Hunter <rian@xxxxxxx>
Date: Fri, 30 Jun 2006 10:34:45 -0400
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Fri, 30 Jun 2006 07:35:51 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <20060630122901.GA13070@xxxxxxxxx>
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>
References: <1151613115.5833.10.camel@xxxxxxxxxxxxxxxxxxxxxxxx> <20060630122901.GA13070@xxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx

On Jun 30, 2006, at 8:29 AM, Vincent Hanquez wrote:
you can access /local/domain/<self>/.. by just using relative path instead
of absolute path.

ex: if you want to read /local/domain/5/something/x from domain 5 you can
just do :

value = xs_read("something/x");

Oh can I? That's what I thought except when I do:

$ xenstore-read something

it fails. Maybe that's because xenstore-read always does an absolute path. I've read the source and it doesn't seem that way, I'll guess I'll try writing a program that uses the xs library to be sure.

Cheers,
--
Vincent Hanquez


Thanks!

Rian Hunter

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