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] [PATCH] Add an ioctl interface for simple xenstore acces

To: Anthony Liguori <aliguori@xxxxxxxxxx>
Subject: Re: [Xen-devel] [PATCH] Add an ioctl interface for simple xenstore access
From: Muli Ben-Yehuda <mulix@xxxxxxxxx>
Date: Sun, 19 Mar 2006 02:10:15 +0200
Cc: Dan Smith <danms@xxxxxxxxxx>, Xen Developers <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Sun, 19 Mar 2006 00:11:51 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <441C49CB.2090308@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: <87r750pupr.fsf@xxxxxxxxxxxxxxxxxxxxxxxxxx> <20060318071405.GD23816@xxxxxxxxxxxxxxxxxxx> <441C49CB.2090308@xxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.11+cvs20060126
On Sat, Mar 18, 2006 at 11:56:27AM -0600, Anthony Liguori wrote:

> I'm not sure how one would express the transaction semantics of xenstore 
> via a virtual filesystem.

file open - transaction begin, file close - transaction commit, if you
need multiple "files" in a single transaction, you make this a special
file. Not very elegant, but as plan9 shows us, nearly anything can be
represented as a file{system}.

> There is also an awkward mapping between some 
> of the attributes of xenstore (for instance, there's no way to determine 
> if an attribute returned by a list is a directory or not)

If it has "sub attributes", represent it as a directory.

> If you remember, I had written a fuse filesystem front-end for xenstore 
> at one point.  It's definitely neat, but I think we would have to make 
> some changes to Xenstore for it to really work out well.

Ok. I freely acknowledge knowing very little about xenstore and how to
best represent its data. I do however know what the review comments
for upstream inclusion of any new ioctls would be like ;-)

Cheers,
Muli
-- 
Muli Ben-Yehuda
http://www.mulix.org | http://mulix.livejournal.com/


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