On Mon, 2008-11-17 at 18:52 +0100, Didier Raboud wrote: > Le lundi 17 novembre 2008 18:30:33 Ian Campbell, vous avez écrit : > > > * grub-pc_01_add_xen_support.patch > > > * grub-pc_02_add_xen_support.patch > > > * grub-pc_03_add_xen_support.patch > > > Add a 10_xen in /etc/grub.d/ for support of the Xen hypervisors > > > Lists all the *-xen-* kernels for each hypervisor version > > > > Only kernels which have CONFIG_XEN_PRIVILEGED_GUEST=y should get a > > hypervisor style stanza (in addition to a native one as discussed > > above). > > Ok. So a reasonable approach would be to parse the /boot/config* files to now > which kernels could be used as dom0. Right ?
That's what grub-legacy's update-grub does, I think it makes sense. > > Usually with grub1 Xen was listed first (I guess since in all likelihood > > if you installed it you will boot it) so perhaps 09_xen ??? > > When I begun to work on it, I had a 08_xen, but then I read > /etc/grub.d/README > which states the "native boot entries", so I guessed that a 10_* would be the > appropriate. A trick could be to name it 10_hypervisors_xen so that it would > be > taken 'before' 10_linux. Ah, right. Shame that it is spec'd as specific numbers rather than ranges. I'd have gone for 20-40 native and 60-80 third party with existing entries falling in the middle of the range, or something like that... > Anyway, I don't know if I have the skills and time to do it properly, but > I'll > make a second try soon ! > > Final note : do you think that these eventual patches would have their place > in > grub-pc or in xen-whatever ? I guess either one could make sense but I'm not maintainer of either of them. I'd probably err on the grub side, for no particular reason. Ian. -- Ian Campbell If you are good, you will be assigned all the work. If you are real good, you will get out of it.
signature.asc
Description: This is a digitally signed message part