From: Keir Fraser Subject: Re: multiboot-like domain building? Date: Wed, 03 Jan 2007 14:55:30 +0000 Message-ID: References: <20070102231230.GI4946@bouh.residence.ens-lyon.fr> Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20070102231230.GI4946@bouh.residence.ens-lyon.fr> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Samuel Thibault , xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org On 2/1/07 23:12, "Samuel Thibault" wrote: > I'm currently porting Mach to Xen, and I need to preload several Mach > modules and give them command lines. The limited "ramdisk" feature of > Xen doesn't permits this. Maybe xen's domain building process could > include a notion of module with associated command line? For instance, > a bit like grub's multiboot module syntax: > > modules = [ "/foo/bar arg1 arg2", "/baz arg3" ] Fine. You could load them into contiguous memory with a header on the front, and call the whole thing a 'ramdisk'. Then your changes to Mach start of day can simply unpack the 'ramdisk' and set up module metadata inside Mach as necessary. -- Keir