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] Q: How to find own domid or uuid from domU?

On Tue, May 23, 2006 at 09:52:00AM +0200, Markus Armbruster wrote:
> "Christian Limpach" <christian.limpach@xxxxxxxxx> writes:
> 
> > There's a uuid node under the vm path.  I.e. you'd do:
> > vmpath=$(xenstore-read vm)
> > uuid=$(xenstore-read $vmpath/uuid)
> 
> Fails in domU:
> 
>     # xenstore-read vm
>     /vm/947df77a-58b5-4e3d-9b6c-aa0178d8e133
>     # xenstore-read /vm/947df77a-58b5-4e3d-9b6c-aa0178d8e133/uuid
>     xenstore-read: couldn't read path 
> /vm/947df77a-58b5-4e3d-9b6c-aa0178d8e133/uuid

Indeed, it's either broken because we've set the permissions not to
allow domains to have access to the /vm tree or because we don't allow
domains to read outside of their "home" directory.

    christian


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

<Prev in Thread] Current Thread [Next in Thread>