From: Keir Fraser Subject: Re: use case for exposing xenstore attributes via sysfs [long] Date: Thu, 23 Feb 2006 10:25:17 +0000 Message-ID: <1a948333f805914524352bea26e2a07d@cl.cam.ac.uk> References: <1140636173.26102.53.camel@localhost.localdomain> <43FD3C81.8070202@us.ibm.com> Mime-Version: 1.0 (Apple Message framework v623) Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <43FD3C81.8070202@us.ibm.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Anthony Liguori Cc: xen-devel@lists.xensource.com, aball@us.ibm.com List-Id: xen-devel@lists.xenproject.org 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