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] PVM guests and p[yv]grub and the extra= parameter

To: Dan Magenheimer <dan.magenheimer@xxxxxxxxxx>
Subject: Re: [Xen-devel] PVM guests and p[yv]grub and the extra= parameter
From: Samuel Thibault <samuel.thibault@xxxxxxxxxxxxx>
Date: Wed, 16 Jul 2008 13:52:58 +0100
Cc: "Xen-Devel \(E-mail\)" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Wed, 16 Jul 2008 05:53:19 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <20080716063547328.00000080236@djm-pc>
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>
Mail-followup-to: Samuel Thibault <samuel.thibault@xxxxxxxxxxxxx>, Dan Magenheimer <dan.magenheimer@xxxxxxxxxx>, "Xen-Devel (E-mail)" <xen-devel@xxxxxxxxxxxxxxxxxxx>
References: <20080715221833578.00000080236@djm-pc> <20080716063547328.00000080236@djm-pc>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.12-2006-07-14
Dan Magenheimer, le Wed 16 Jul 2008 06:35:47 -0600, a écrit :
> > > Another possibility would be to provide the menu.lst as a 
> > ramdisk.  We
> > > keep the confinment of grub inside the domain, but still 
> > provide full
> > > configurability.
> > 
> > That's a neat solution.  Still not as clean as an extra=
> > vm.cfg parameter though.  (Think about instructing a novice
> > user over the phone how to construct a grub.conf file from
> > scratch!)  But it's much better than the other alternatives.
> 
> Thinking about this a bit more, were you thinking about
> thh vm config file providing a file name on the dom0
> filesystem?  Or providing the entire menu.lst file in
> the vm config file.  Or either?

The latter.

> It would be neat if you could put in the vm config file
> something like (as a contrived example):
> 
> bootconfig="
> default=0
> timeout=10
> title Linux 2.6.25
>       kernel /vmlinuz-2.6.25 ro root=xxx
>       initrd /initrd-2.6.25.img
> title Linux 2.6.25
>       kernel /vmlinuz-2.6.25 ro root=xxx debug
>       initrd /initrd-2.6.25.img
> "
> 
> Then you could just tell a customer to change
> default=0 to default=1, or change debug to,
> for example, clock=pit, or whatever.

You can obtain that by putting that into a dom0 file and referencing it
from the ramdisk option (the name becomes a bit unfortunate...)

Samuel

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