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

To: "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-devel] [PATCH] Guest boot loader support
From: Jeremy Katz <katzj@xxxxxxxxxx>
Date: Mon, 25 Apr 2005 18:50:27 -0400
Delivery-date: Mon, 25 Apr 2005 22:50:56 +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
Attached is an updated version of the patch to add boot loader support
for guest domains.  

Changes from the initial set of patches:
* Per Ian's request, adds an option to specify booting a specific kernel
from the host domain (you can specify it either with the title of the
boot loader config entry or with the grub 0-based index)
* Reduces some of the code duplication for finding out what the virtual
disk to boot off of is
* Improved error handling to use the standard Xen logging and error
facilities

At this point, I think that we handle the use cases where a user just
wants to have everything specified from within the guest domain,
creating a domain with xm create and wanting to be able to interactively
select a kernel and asking for a specific entry from the grub.conf to be
booted when creating a domain.

Future things (which I think are fine to do after the initial pass is
committed) include
* Reworking to use the planned new console infrastructure [1]
* Handling whole disks
* More filesystem support -- the code is generic and has all the hooks,
I just haven't delved deep enough into any of the other fs libraries
* Further improvements for the menu interface

Signed-off-by: Jeremy Katz <katzj@xxxxxxxxxx>

Jeremy

[1] And I foolishly told Ian I'd start a discussion about this last week
and still haven't.  Hopefully tonight.

Attachment: xen-bootloader.patch
Description: Text Data

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