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?

On Thu, Dec 28, 2006 at 12:14:48PM -0500, Lily Huang wrote:

> 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.

Do you mean that you've done xm create <file>, xm shutdown <domain>, and
then xm create <file> again?  You are right, this will in effect create
two separate VMs, with the same configuration, but different identities
(and different UUIDs).

If you use the new support for persistent VMs, then you should find
that the VM retains its identity.  xm new <file>, xm start <domain>,
xm shutdown <domain>, xm start <domain> should have the same effect as
the commands above, but you will see that the VM retains its UUID.

HTH,

Ewan.

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