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] XD_GET_DOMAIN_PATH from dom2

To: "Ewan Mellor" <ewan@xxxxxxxxxxxxx>
Subject: Re: [Xen-devel] XD_GET_DOMAIN_PATH from dom2
From: "ron minnich" <rminnich@xxxxxxxxx>
Date: Fri, 8 Dec 2006 15:42:12 -0700
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Fri, 08 Dec 2006 14:42:09 -0800
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=pc+mDzWdB7Bwf4iUp/KY0ED7/qbuA1ISvTHrSLneL0grQMHVcAb8QklKGjKTVvo+zNQG9Qsz6ho67zHUoZQ4w0wZjWxfc6B3J+YeGPbIyamCfc++JzBZDjM5g1jPQDvXJagfpGRuXSycsUgJYtdDFS8RkQTGK0xKhnTN9KzwL8s=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <20061208212525.GA20820@xxxxxxxxxxxxxxxxxxxxxx>
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: <13426df10612081256p766c106ap6113bfe0c9456cb0@xxxxxxxxxxxxxx> <20061208212525.GA20820@xxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
On 12/8/06, Ewan Mellor <ewan@xxxxxxxxxxxxx> wrote:

Do you mean XS_GET_DOMAIN_PATH, the Xenstored message?  This takes a domid, so
if you're getting /local/domain/0 out, then you almost certainly are putting 0
in.

If you want to read /local/domain/N/something from domain N, then you can just
do xs_read("something"), as each domain has an implicit prefix of
/local/domain/N if they read using relative paths.

thanks.


we're looking at writing a 9p server for the xenstore and I am just
feeling my way around at this point. Thanks for the guidance.

ron

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

<Prev in Thread] Current Thread [Next in Thread>