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

Re: [Xen-devel] [PATCH] [XM] Enable a bootloader when using XM via Xen-A

To: John Levon <levon@xxxxxxxxxxxxxxxxx>
Subject: Re: [Xen-devel] [PATCH] [XM] Enable a bootloader when using XM via Xen-API
From: Stefan Berger <stefanb@xxxxxxxxxx>
Date: Wed, 30 Jul 2008 07:36:05 -0400
Cc: xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Wed, 30 Jul 2008 04:36:30 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <20080730024545.GA2970@xxxxxxxxxxxxxxxxxxxxxxx>
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/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <1217385464.11224.5.camel@xxxxxxxxxxxxxxxxxxxxx> <20080730024545.GA2970@xxxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx

> John Levon <levon@xxxxxxxxxxxxxxxxx>
> Sent by: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
>

> 07/29/2008 10:45 PM
>
> To

>
> Stefan Berger/Watson/IBM@IBMUS

>
> cc

>
> xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>

>
> Subject

>
> Re: [Xen-devel] [PATCH] [XM] Enable a bootloader when using XM via Xen-API

>
> On Tue, Jul 29, 2008 at 10:37:44PM -0400, Stefan Berger wrote:
>
> > This enables the usage of a bootloader, i.e., pygrub, when starting a
> > domain using xm in Xen-API mode.
>
> It's supposed to default to using pygrub if no kernel is specified, is
> this still true after your change?

>
> regards
> john

I don't think it actually worked correctly before with xm.

Using a vm config file with the following entries and the domU kernel as the first title in grub.conf

name = "test"
memory = 512
disk = ['file:/temp/fc8-i386.img,sda,w']
bootloader = "/usr/bin/pygrub"

I tested using 'xm create' in Xen-API mode by enabling and disabling the 'bootloader' line and got this here:

  - without the patch and the bootloader line 'on' :  'Internal Error: Had a bootloader specified, but no disks are bootable'
  - without the patch and the bootloader line 'off':  'Internal Error: Had a bootloader specified, but no disks are bootable'
  - with    the patch and the bootloader line 'on' :  * boots domU *
  - with    the patch and the bootloader line 'off':  * boots domU *

I think the patch solves the problem with the bootloader.

Is it possible to have pygrub display its GUI while doing 'xm create'? How?

  Stefan


>
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@xxxxxxxxxxxxxxxxxxx
>
http://lists.xensource.com/xen-devel
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>