From: Tim Deegan Subject: Re: [RFC] Bootloader configuration Date: Tue, 28 Feb 2006 09:45:06 +0000 Message-ID: <20060228094506.GA19040@centipede.cl.cam.ac.uk> References: <20060227164703.GA7855@totally.trollied.org> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Return-path: Content-Disposition: inline In-Reply-To: <20060227164703.GA7855@totally.trollied.org> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: John Levon Cc: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org On Mon, Feb 27, 2006 at 04:47:03PM +0000, John Levon 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. 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. Tim. -- Tim Deegan (My opinions, not the University's) Systems Research Group University of Cambridge Computer Laboratory