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] How to get the persistent identifier of a domain?

To: "Ewan Mellor" <ewan@xxxxxxxxxxxxx>
Subject: Re: [Xen-devel] How to get the persistent identifier of a domain?
From: "Lily Huang" <ushuanglily@xxxxxxxxx>
Date: Thu, 28 Dec 2006 12:14:48 -0500
Cc: xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Thu, 28 Dec 2006 09:14:32 -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:references; b=S//J6P762Nnmpe5HjIsqoTpXV2UxbOTaPDjyERcSiOri8ajbnz9HQTUeMBd3S8WvkRRhdD0yDdSiRAF5QB1ktqWzJ7AesyC679rwSIKvTohzTNFKUvM8sduRcp4akg0SWQ5C983gldQ5WI0tJi7unAfJ2PilS3L1oG4lGaaF/F8=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <20061228105806.GA9073@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: <4d616cca0612272009j54225990rd9c41ad64e0d8176@xxxxxxxxxxxxxx> <20061228105806.GA9073@xxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thanks for your reply.

Here is my experimental setting. I start a domu, run "xm list --long", the uuid shown to me was (uuid 6cc8ab86-4ad4-7820-3326-53d666ff96aa). Then, I shut down this domu,  and start the same domu again. I got a different uuid:
(uuid 0c9ee2d6-4a9f-c0bf-989f-148bec284e15). You can see these two uuids are different.

I am using the latest xen-unstable.

Any further thought? If the persistent identifier does exists, do we have a programmable solution to get the persistent identifier (not command line, because it dump too much information and need  additional work to filter  the useless information)?

Thanks,
lily

On 12/28/06, Ewan Mellor <ewan@xxxxxxxxxxxxx> wrote:
On Wed, Dec 27, 2006 at 11:09:43PM -0500, Lily Huang wrote:

> Hi,
>
> As we know, a domainU's domid may change after system reboots. Does Xen
> provide a persistent identifier for each domU? I tried UUID, but UUID also
> changes across reboots. Any idea on this? If Xen does provide such a
> mechanism to persistently identify a domain U? What is it?

Which UUID do you mean?  The one that xm list --long shows you as the
UUID for the domain certainly shouldn't change across reboots (it
doesn't for me).

Ewan.

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