[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] How to get the persistent identifier of a domain?

On Thu, Dec 28, 2006 at 02:19:18PM -0500, Lily Huang wrote:

> Thanks for kind help from your guys.
> After I specified the uuid in the configuration file, I got stable uuid
> across reboots. Now next question is:  how to get the uuid using program
> instead of command line. I mean, in the kernel space.

vm = xenstore-read "vm"
uuid = xenstore-read "$vm/uuid"

You ought to be able to do that from either kernel or userspace in a
domU, with the appropriate libraries installed.


Xen-devel mailing list



Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.