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] Q: How to find own domid or uuid from domU?

To: "Andrew D. Ball" <aball@xxxxxxxxxx>
Subject: Re: [Xen-devel] Q: How to find own domid or uuid from domU?
From: "Christian Limpach" <christian.limpach@xxxxxxxxx>
Date: Mon, 22 May 2006 15:45:44 +0100
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Mon, 22 May 2006 07:46:08 -0700
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=aQBpp85qQ9m1lRM0PO3LvK8XYO6e2mawP4nqX99Rsviss6bV/lynBQWOgMPQKZm34VTMkr9GkjRtMvnOuFWprapl6eC4t0vmsZg7i8LI5fSAF2JXMEy/05l5sIj4rk6Stsweybo4ApeqfL/lyQ1wuRmi9vN90DxWa37ZMshlkCo=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <4471C827.70100@xxxxxxxxxx>
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: <87fyj7ravp.fsf@xxxxxxxxxxxxxxxxx> <87r72rppv2.fsf@xxxxxxxxxxxxxxxxx> <c7b7a9451577705256438d2456881321@xxxxxxxxxxxx> <87iro3pj2z.fsf@xxxxxxxxxxxxxxxxx> <0cbcc9c018815b56e92521554c2cd585@xxxxxxxxxxxx> <446C8488.1030503@xxxxxxxxxx> <8d2b2f0e40dfb24f939a81970a493a7f@xxxxxxxxxxxx> <446C910A.50000@xxxxxxxxxx> <3d8eece20605180959i5b06dbd2q3f66ebfeba0be255@xxxxxxxxxxxxxx> <4471C827.70100@xxxxxxxxxx>
Reply-to: Christian.Limpach@xxxxxxxxxxxx
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
On 5/22/06, Andrew D. Ball <aball@xxxxxxxxxx> wrote:
Christian Limpach wrote:
> There's a uuid node under the vm path.  I.e. you'd do:
> vmpath=$(xenstore-read vm)
> uuid=$(xenstore-read $vmpath/uuid)

Since I'm interested in <uuid> instead of /vm/<uuid>, I'd like to see
<uuid> by itself in xenstore.

Yes, you shouldn't parse the uuid out of the path you get when reading
the vm node, but instead you should read the uuid node in the domain's
vm tree, as I described in the text you quoted (*sigh*).

   christian

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

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