All of lore.kernel.org
 help / color / mirror / Atom feed
From: Ian Campbell <ijc@hellion.org.uk>
To: The development of GRUB 2 <grub-devel@gnu.org>
Cc: Robert Millan <rmh@aybabtu.com>
Subject: Behaviour of update-grub when Xen enabled kernels are installed.
Date: Sun, 11 May 2008 10:36:38 +0100	[thread overview]
Message-ID: <1210498598.14928.36.camel@localhost.localdomain> (raw)

[-- Attachment #1: Type: text/plain, Size: 1747 bytes --]

Hi all,

The version of update-grub in Debian's grub-legacy packages[0] has an
interesting feature where it attempts to detect when I kernel is
compiled for Xen and chooses to include it in the menu depending on
whether it is running inside a Xen guest domain or not[1].

As described at [2] this behaviour has been broken by the latest kernels
which due to the paravirt_ops (CONFIG_PARAVIRT) framework which means
that these kernels are now bootable both native and as a Xen guest
domain.

Robert asked me to bring the issue here and to ask the question of
whether or not this behaviour would be welcomed as a patch to grub 2.

Personally I am not a fan of this behaviour since it causes the wrong
thing to occur in several circumstances, i.e. installing into a chroot
or switching back and forth between fully- and para-virtualised
operation and as time moves on CONFIG_PARAVIRT will become the norm and
the behaviour less necessary in general. What is the opinion of the grub
2 devs?

Cheers,
Ian.
[0] For those not familiar with Xen the classical Xen kernels cannot be
run on bare metal so there is an argument that it makes little sense to
include them in the menu for the control domain, conversely including a
native kernel in the menu for a guest domain is not terribly useful
either. CONFIG_PARAVIRT (2.6.22+) changes this and such kernel is now
bootable on native and under Xen.
[1]
http://svn.debian.org/viewsvn/pkg-grub/grub/trunk/debian/update-grub?view=auto
[2]
http://lists.alioth.debian.org/pipermail/pkg-grub-devel/2008-April/004701.html http://lists.alioth.debian.org/pipermail/pkg-grub-devel/2008-May/004821.html


-- 
Ian Campbell

Waste not fresh tears over old griefs.
		-- Euripides

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

             reply	other threads:[~2008-05-11  9:36 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-05-11  9:36 Ian Campbell [this message]
2008-05-28 13:39 ` Behaviour of update-grub when Xen enabled kernels are installed Robert Millan
2008-05-30  7:45   ` Ian Campbell

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1210498598.14928.36.camel@localhost.localdomain \
    --to=ijc@hellion.org.uk \
    --cc=grub-devel@gnu.org \
    --cc=rmh@aybabtu.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.