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

RE: [Xen-devel] How to get user domain UUID from dom0


  • To: "Liran Schour" <LIRANS@xxxxxxxxxx>, <xen-devel@xxxxxxxxxxxxxxxxxxx>
  • From: "Fischer, Anna" <anna.fischer@xxxxxx>
  • Date: Mon, 25 Sep 2006 17:31:32 +0100
  • Delivery-date: Mon, 25 Sep 2006 09:32:11 -0700
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>
  • Thread-index: Acbgjk6a7SoXATHvRcSE4mV9xQ40kQALRWMA
  • Thread-topic: [Xen-devel] How to get user domain UUID from dom0

One option to get the UUID is to read it from the Xenstore. The Xenstore
can be accessed in user space (using xenstore-read/write) and in kernel
space using the kernel API. The API is defined in tools/xenstore/xs.h.

All domains are indexed by their UUID in the Xenstore in the path /vm.
There're different ways to find the UUID. If you have the domain ID then
you can find the UUID under /local/domain/$DOMID/vm/$UUID. 

You might want to have a look in the Xenstore reference of the XenWiki.
There's some sample code, too. Is that what you were looking for?


-----Original Message-----
From: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
[mailto:xen-devel-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of Liran Schour
Sent: Montag, 25. September 2006 11:12
To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] How to get user domain UUID from dom0


How do I get the UUID of domain X from the kernel space of domain 0?

Thanks,
- Liran


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

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


 


Rackspace

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