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: Thu, 18 May 2006 17:59:51 +0100
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Thu, 18 May 2006 10:00:13 -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=LWNFwF+OpvvBnU69F4fKqjkN7lUPIz0zLwdpJ2IHA01e2ngoGIDlwmsHSrUvoadQHLlcMwjZawmOJYfrCKlAy321FhAhvl2zAM/wGzh1/iznQnqgNu31J7fWbv2+2fIe2NKKVzPDamf20ACdSL97PMyESilTeiAqLL1rCOgPTI4=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <446C910A.50000@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> <877j4jr7gd.fsf@xxxxxxxxxxxxxxxxx> <87882c2fef4a6cb52eeb9881d1b4ca4a@xxxxxxxxxxxx> <87r72rppv2.fsf@xxxxxxxxxxxxxxxxx> <c7b7a9451577705256438d2456881321@xxxxxxxxxxxx> <87iro3pj2z.fsf@xxxxxxxxxxxxxxxxx> <0cbcc9c018815b56e92521554c2cd585@xxxxxxxxxxxx> <446C8488.1030503@xxxxxxxxxx> <8d2b2f0e40dfb24f939a81970a493a7f@xxxxxxxxxxxx> <446C910A.50000@xxxxxxxxxx>
Reply-to: Christian.Limpach@xxxxxxxxxxxx
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
On 5/18/06, Andrew D. Ball <aball@xxxxxxxxxx> wrote:
Good!  I've been strapped for time, but will eventually get around to it
perhaps.  Mike Day's been doing excellent work on it.

I think it would be nice if the attribute were called uuid and not vm
with "/vm/" prepended.  I suppose it's fine to keep "vm" as a shortcut,
but a separate UUID attribute is more important, IMHO.

There's a uuid node under the vm path.  I.e. you'd do:
vmpath=$(xenstore-read vm)
uuid=$(xenstore-read $vmpath/uuid)

I think exposing this through sysfs would be wrong, there's no need to
make the kernel aware of any of this.

   christian

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

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