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