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] [PATCH] Guest boot loader support [0/2]

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] [PATCH] Guest boot loader support [0/2]
From: Jeremy Katz <katzj@xxxxxxxxxx>
Date: Wed, 13 Apr 2005 23:12:44 -0400
Cc: Ian Pratt <m+Ian.Pratt@xxxxxxxxxxxx>
Delivery-date: Thu, 14 Apr 2005 03:13:58 +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
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>
  • [Xen-devel] [PATCH] Guest boot loader support [0/2], Jeremy Katz <=