From: John Levon Subject: Re: [RFC] Bootloader configuration Date: Tue, 28 Feb 2006 15:15:07 +0000 Message-ID: <20060228151507.GA25033@totally.trollied.org> References: <20060227164703.GA7855@totally.trollied.org> <20060228094506.GA19040@centipede.cl.cam.ac.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <20060228094506.GA19040@centipede.cl.cam.ac.uk> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Tim Deegan Cc: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org On Tue, Feb 28, 2006 at 09:45:06AM +0000, Tim Deegan wrote: > > 4) The concept of "retrieve a file from this fs image" seems to be generically > > useful outside of the Xen project context; forcing a Python API for this > > functionality seems a lot less general than it should be. > > Surely this is somewhere that Python can be very useful! Support for > filesystem reading is available in C libraries, and munging a lot of C > interfaces together into a command-line tool is one of the things Python > does best. I'm not against "readfs" being written in Python as such, just only a Python API being presented. That is, I think the most useful interface form is that of a command-line utility. As it happens, my current prototype is written in C (ext2, and UFS) as it's very little code with a shell script frontend calling into the backends. > In general I agree with your ideas; my own patches to XM and pygrub for > this were going along these lines, if not quite general enough. In the > long term though, in-domU support is going to be the best way of doing > this, specially for virtual hosting and "packaged" VM images. Are you referring to a grub Xen port, or the "boot something once to get images" thing that's been discussed, or something else? cheers, john