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] use case for exposing xenstore attributes via sysfs [lon

To: Anthony Liguori <aliguori@xxxxxxxxxx>
Subject: Re: [Xen-devel] use case for exposing xenstore attributes via sysfs [long]
From: Keir Fraser <Keir.Fraser@xxxxxxxxxxxx>
Date: Thu, 23 Feb 2006 10:25:17 +0000
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx, aball@xxxxxxxxxx
Delivery-date: Thu, 23 Feb 2006 10:19:24 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <43FD3C81.8070202@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>
References: <1140636173.26102.53.camel@xxxxxxxxxxxxxxxxxxxxx> <43FD3C81.8070202@xxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx

On 23 Feb 2006, at 04:39, Anthony Liguori wrote:

It would also solve the general problem too. There's a really interesting article on LWN right now about sysfs being part of the Linux userspace ABI. If we expose parts of XenStore that aren't frozen (all of the Xend stuff which includes UUID isn't frozen) via sysfs then it would be wrong to ever change those things.

I think you could write up a pretty simple module that provided this for domUs. Would having a simpler kernel interface for XenBus be acceptable? We could just change xenstore-* to use that interface and get rid of xenstore_domain_open() (is anyone actually using this interface anywhere else?).

It gets harder if anyone wants to construct transactions or register watches from user space. We could support both interfaces though (simple restricted, and complex flexible).

 -- Keir


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

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