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: ron minnich <rminnich@xxxxxxxxx>
Subject: Re: [Xen-devel] XD_GET_DOMAIN_PATH from dom2
From: Ewan Mellor <ewan@xxxxxxxxxxxxx>
Date: Fri, 8 Dec 2006 21:25:25 +0000
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Fri, 08 Dec 2006 13:25:29 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <13426df10612081256p766c106ap6113bfe0c9456cb0@xxxxxxxxxxxxxx>
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>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.9i
On Fri, Dec 08, 2006 at 01:56:55PM -0700, ron minnich wrote:

> This is returning /local/domain/0 to domain 2.
> 
> Is this something anyone has tried? I am wondering if I am hitting
> something that was never tested.

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.

Ewan.

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

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