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

[Xen-devel] RE: [PATCH] Guest boot loader support [0/2]

To: "Jeremy Katz" <katzj@xxxxxxxxxx>, <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-devel] RE: [PATCH] Guest boot loader support [0/2]
From: "Ian Pratt" <m+Ian.Pratt@xxxxxxxxxxxx>
Date: Thu, 14 Apr 2005 08:59:54 +0100
Delivery-date: Thu, 14 Apr 2005 07:59:45 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
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: AcVAn+nj+3esIhR3SOudD/JBsc/inwAJ9jlA
Thread-topic: [PATCH] Guest boot loader support [0/2]
Thanks Jeremy.

This should be backward compatible with existing config files, right? In
which case, we can apply to 2.0-testing as well as unstable.

Thanks,
Ian

> Per prior mails and my conversation with Ian last week, the 
> following set of patches adds a simple bootloader that can 
> read kernel/initrds off of the domU filesystem as well as 
> parsing of the grub config file.
> Right now, only ext[23] is supported (via libext2fs) but 
> adding other filesystems should be pretty easy, I just 
> haven't had a chance to sit down and look at the APIs for 
> libreiserfs or libxfs.
> 
> I've broken the changes into two parts.  The first implements 
> the changes needed for xm and xend to kick off a bootloader 
> process.  You can specify to use this by including a line
>   bootloader=/usr/bin/pygrub
> in your domain's config file (or similar).  If you 
> auto-connect the console, you'll get the interactive mode for 
> your bootloader run.  If you don't auto-connect the console, 
> then the bootloader will be run with -q, in which case it 
> should just pick the default.
> 
> The second patch adds pygrub which is the beginning of a grub 
> look-a-like.  It parses a regular grub.conf, although at 
> present only support for the rudimentary bits is present.  I 
> want to continue fleshing out the interface as well as adding 
> support for whole disks as opposed to just a partition.
> 
> Signed-off-by: Jeremy Katz <katzj@xxxxxxxxxx>
> 
> Jeremy
> 
> 

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

<Prev in Thread] Current Thread [Next in Thread>