[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] RE: [Xen-devel] How to get user domain UUID from dom0
"Fischer, Anna" <anna.fischer@xxxxxx> wrote on 25/09/2006 19:31:32: > 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? > 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. - Liran _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |