Xen 
 
Home About Xen.org Xen Xen Summit Wiki Mailing List Bug Tracker Xen Downloads
 
   
 

xen-devel

RE: [Xen-devel] [PATCH 1/2] libfsimage

To: "Stephen C. Tweedie" <sct@xxxxxxxxxx>, "John Levon" <levon@xxxxxxxxxxxxxxxxx>
Subject: RE: [Xen-devel] [PATCH 1/2] libfsimage
From: "Ian Pratt" <m+Ian.Pratt@xxxxxxxxxxxx>
Date: Mon, 30 Oct 2006 11:58:20 -0000
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Mon, 30 Oct 2006 03:59:13 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
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>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: Acb8FMu2hLnMBdDSRve4Pz8hQJHAkgABURuA
Thread-topic: [Xen-devel] [PATCH 1/2] libfsimage
> On Fri, 2006-10-27 at 19:58 +0100, John Levon wrote:
> > These two patches re-work pygrub to use a generic C library for 
> > reading filesystem images. An immediate benefit is that there's no 
> > longer any external dependencies, so all the filesystems 
> always 'just work'.
> 
> The downside is that it no longer picks up updates, fixes 
> etc. from the official upstream support for libext2fs / 
> libreiserfs, so we're just duplicating the places where 
> filesystem support needs to be maintained.

[Apparently, libresierfs is moribund and doesn't actually support
current v3 filesystems anyhow. We need to look at other ways of pulling
kernels out.]

As I understand it, John's scheme doesn't necessarily prevent using the
existing libraries -- you could have external binaries linked against
the existing libraries, or you could choose to statically link if your
distro didn't normally include those libraries.

Ian

> If xen packages are properly built, filesystems will Just Work anyway.
> 
> > Slightly longer term, providing a stable C API for 
> filesystem support 
> > adds a considerable amount of future proofing.
> 
> That I can agree with.  But I'd rather see that API done as a 
> wrapper around existing upstream filesystem libraries, rather 
> than forking fs userspace support entirely.


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