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 user domain UUID from dom0

To: "Liran Schour" <LIRANS@xxxxxxxxxx>, <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: RE: [Xen-devel] How to get user domain UUID from dom0
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
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <OF5437CD57.1A2A1405-ONC22571F4.0032C40D-C22571F4.00381086@xxxxxxxxxx>
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>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
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