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] domU reading its own xenstore home directory from usersp

To: "Andrew D. Ball" <aball@xxxxxxxxxx>
Subject: Re: [Xen-devel] domU reading its own xenstore home directory from userspace
From: Anthony Liguori <aliguori@xxxxxxxxxx>
Date: Fri, 02 Dec 2005 17:07:54 -0600
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Fri, 02 Dec 2005 23:07:49 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <1133556311.9532.38.camel@xxxxxxxxxxxxxxxxxxxxx>
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>
References: <1133556311.9532.38.camel@xxxxxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla Thunderbird 1.0.7 (X11/20051013)
This documentation is old and at the time referred to the Xenbus code, not the userspace interface (there wasn't even such an interface at the time).

Are you having problems using libxenstore from within a domU on recent builds?

Regards,

Anthony Liguori

Andrew D. Ball wrote:

What does this statement in the xenbus documentation on the xen wiki
mean: "The DomU kernel interface is structured in such a way that nodes
in the "home directory" of the domain cannot be addressed, and therefore
cannot be read from or written to. Tools may use this space to store
data that should not be accessed by the domain itself." ?
[ from http://wiki.xensource.com/xenwiki/XenBus , toward the bottom ]

I thought domU kernels must read data in the domU's home directory or is
the data that drivers watch somewhere else?

I want to read this data from domU userspace that that a domU can find
out what it's UUID is.  This is important for correlating domU's with
the dom0's they run on for management tools.  Reading a UUID from a
domU's xenstore home directory from domU userspace is the cleanest way
to do this that I can think of at the moment.

Thanks for your help.

Andrew


_______________________________________________
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

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