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

On Tue, Sep 26, 2006 at 11:56:59AM +0300, Liran Schour wrote:
> > 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?
> >
> 
> I need to get the UUID from kernel space. As I have noticed the kernel API
> (xenbus_scanf) assumes you are already in /local/domain/0 and starts the
> lookup from that point. I need to go back in the path to /local/domain/X I
> don't know how to do this from kernel space.

As we discussed off-list, calling xenbus_read() and friends with a
full path should do the trick.

Cheers,
Muli

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