Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1K1Lsk-0000Dl-CE for mharc-grub-devel@gnu.org; Wed, 28 May 2008 09:39:58 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1K1Lsh-0000Ce-UX for grub-devel@gnu.org; Wed, 28 May 2008 09:39:56 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1K1Lsg-0000Bq-5K for grub-devel@gnu.org; Wed, 28 May 2008 09:39:55 -0400 Received: from [199.232.76.173] (port=54100 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1K1Lsg-0000Bm-1F for grub-devel@gnu.org; Wed, 28 May 2008 09:39:54 -0400 Received: from aybabtu.com ([69.60.117.155]:39139) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1K1Lsg-0005jN-0q for grub-devel@gnu.org; Wed, 28 May 2008 09:39:54 -0400 Received: from [192.168.10.10] (helo=thorin) by aybabtu.com with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.63) (envelope-from ) id 1K1LsN-0006ny-4c for grub-devel@gnu.org; Wed, 28 May 2008 15:39:39 +0200 Received: from rmh by thorin with local (Exim 4.63) (envelope-from ) id 1K1LsI-0006yp-G1 for grub-devel@gnu.org; Wed, 28 May 2008 15:39:30 +0200 Date: Wed, 28 May 2008 15:39:30 +0200 From: Robert Millan To: The development of GRUB 2 Message-ID: <20080528133930.GB26495@thorin> References: <1210498598.14928.36.camel@localhost.localdomain> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <1210498598.14928.36.camel@localhost.localdomain> Organization: free as in freedom X-Message-Flag: Worried about Outlook viruses? Switch to Thunderbird! www.mozilla.com/thunderbird X-Debbugs-No-Ack: true User-Agent: Mutt/1.5.13 (2006-08-11) X-detected-kernel: by monty-python.gnu.org: Genre and OS details not recognized. Subject: Re: 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: Wed, 28 May 2008 13:39:56 -0000 No reply... if you're still interested in this, I suggest you contact the people who set the current behaviour and involve them in the discussion, to see if they have any objections to what you propose. On Sun, May 11, 2008 at 10:36:38AM +0100, Ian Campbell wrote: > 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 > _______________________________________________ > Grub-devel mailing list > Grub-devel@gnu.org > http://lists.gnu.org/mailman/listinfo/grub-devel -- Robert Millan I know my rights; I want my phone call! What good is a phone call… if you are unable to speak? (as seen on /.)