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@xxxxxxxxxx" <dan.magenheimer@xxxxxxxxxx>, "Samuel Thibault" <samuel.thibault@xxxxxxxxxxxxx>
Subject: RE: [Xen-devel] PVM guests and p[yv]grub and the extra= parameter
From: "Dan Magenheimer" <dan.magenheimer@xxxxxxxxxx>
Date: Wed, 16 Jul 2008 06:35:47 -0600
Cc: "Xen-Devel \(E-mail\)" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Wed, 16 Jul 2008 05:37:21 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <20080715221833578.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>
Organization: Oracle Corporation
Reply-to: "dan.magenheimer@xxxxxxxxxx" <dan.magenheimer@xxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: Acjm+wCPu910srmrR8ilEmDyXlirlgARA7+w
> > 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?

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.

Thanks,
Dan


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