[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • To: "Jeremy Katz" <katzj@xxxxxxxxxx>, <xen-devel@xxxxxxxxxxxxxxxxxxx>
  • 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
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>
  • 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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.