From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1Jv7zF-0003GV-5u for mharc-grub-devel@gnu.org; Sun, 11 May 2008 05:36:57 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Jv7zC-0003GP-SC for grub-devel@gnu.org; Sun, 11 May 2008 05:36:54 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Jv7zB-0003GD-8c for grub-devel@gnu.org; Sun, 11 May 2008 05:36:54 -0400 Received: from [199.232.76.173] (port=56365 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Jv7zA-0003GA-WC for grub-devel@gnu.org; Sun, 11 May 2008 05:36:53 -0400 Received: from mtaout01-winn.ispmail.ntl.com ([81.103.221.47]:12369) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Jv7zA-0000Xa-Ii for grub-devel@gnu.org; Sun, 11 May 2008 05:36:52 -0400 Received: from aamtaout01-winn.ispmail.ntl.com ([81.103.221.35]) by mtaout01-winn.ispmail.ntl.com with ESMTP id <20080511094019.HMLH14647.mtaout01-winn.ispmail.ntl.com@aamtaout01-winn.ispmail.ntl.com>; Sun, 11 May 2008 10:40:19 +0100 Received: from hopkins.hellion.org.uk ([81.102.157.50]) by aamtaout01-winn.ispmail.ntl.com with ESMTP id <20080511094132.WFBO219.aamtaout01-winn.ispmail.ntl.com@hopkins.hellion.org.uk>; Sun, 11 May 2008 10:41:32 +0100 Received: from azathoth.hellion.org.uk ([192.168.1.5]) by hopkins.hellion.org.uk with esmtp (Exim 4.63) (envelope-from ) id 1Jv7yw-0003NP-G7; Sun, 11 May 2008 10:36:44 +0100 From: Ian Campbell To: The development of GRUB 2 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-hii4XUKLAij5qTi0XHvK" Date: Sun, 11 May 2008 10:36:38 +0100 Message-Id: <1210498598.14928.36.camel@localhost.localdomain> Mime-Version: 1.0 X-Mailer: Evolution 2.22.1.1 X-SA-Exim-Connect-IP: 192.168.1.5 X-SA-Exim-Mail-From: ijc@hellion.org.uk X-SA-Exim-Version: 4.2.1 (built Tue, 09 Jan 2007 17:23:22 +0000) X-SA-Exim-Scanned: Yes (on hopkins.hellion.org.uk) X-detected-kernel: by monty-python.gnu.org: Solaris 10 (beta) Cc: Robert Millan Subject: Behaviour of update-grub when Xen enabled kernels are installed. X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: The development of GRUB 2 List-Id: The development of GRUB 2 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 11 May 2008 09:36:55 -0000 --=-hii4XUKLAij5qTi0XHvK Content-Type: text/plain Content-Transfer-Encoding: quoted-printable 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= =3Dauto [2] http://lists.alioth.debian.org/pipermail/pkg-grub-devel/2008-April/004701.h= tml http://lists.alioth.debian.org/pipermail/pkg-grub-devel/2008-May/004821= .html --=20 Ian Campbell Waste not fresh tears over old griefs. -- Euripides --=-hii4XUKLAij5qTi0XHvK Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQBIJr4mM0+0qS9rzVkRAiaDAJ9HpEFMLBbdP0XfuNkgiha7HTw08ACdFneG Q2Y495GoZQQs9PVbakE5VS4= =s49N -----END PGP SIGNATURE----- --=-hii4XUKLAij5qTi0XHvK--