|
|
|
|
|
|
|
|
|
|
xen-devel
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.
Ewan.
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
|
|
|
|