Received: from list by lists.gnu.org with archive (Exim 4.71) id 1VYec0-0007Xw-AR for mharc-grub-devel@gnu.org; Tue, 22 Oct 2013 12:15:16 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:37238) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VYebp-0007S4-SM for grub-devel@gnu.org; Tue, 22 Oct 2013 12:15:14 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VYebh-0002q2-AZ for grub-devel@gnu.org; Tue, 22 Oct 2013 12:15:05 -0400 Received: from aserp1040.oracle.com ([141.146.126.69]:25261) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VYebh-0002pu-4J for grub-devel@gnu.org; Tue, 22 Oct 2013 12:14:57 -0400 Received: from ucsinet21.oracle.com (ucsinet21.oracle.com [156.151.31.93]) by aserp1040.oracle.com (Sentrion-MTA-4.3.1/Sentrion-MTA-4.3.1) with ESMTP id r9MGEqeU020764 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Tue, 22 Oct 2013 16:14:53 GMT Received: from aserz7021.oracle.com (aserz7021.oracle.com [141.146.126.230]) by ucsinet21.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id r9MGEo3W003211 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 22 Oct 2013 16:14:51 GMT Received: from abhmt111.oracle.com (abhmt111.oracle.com [141.146.116.63]) by aserz7021.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id r9MGEoHF014805; Tue, 22 Oct 2013 16:14:50 GMT Received: from debian70-amd64.local.net-space.pl (/89.174.63.77) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Tue, 22 Oct 2013 09:14:50 -0700 Date: Tue, 22 Oct 2013 18:14:44 +0200 From: Daniel Kiper To: Ian Campbell Subject: Re: EFI and multiboot2 devlopment work for Xen Message-ID: <20131022161444.GJ3626@debian70-amd64.local.net-space.pl> References: <5266620602000078000FCA48@nat28.tlf.novell.com> <1382435127.1657.70.camel@hastur.hellion.org.uk> <526668A502000078000FCA7B@nat28.tlf.novell.com> <20131022134252.GA27302@phenom.dumpdata.com> <20131022144309.GA18547@phenom.dumpdata.com> <1382455537.8512.11.camel@shinybook.infradead.org> <20131022153258.GA12260@srcf.ucam.org> <1382456560.8512.24.camel@shinybook.infradead.org> <20131022160146.GH3626@debian70-amd64.local.net-space.pl> <1382458083.18283.34.camel@hastur.hellion.org.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1382458083.18283.34.camel@hastur.hellion.org.uk> User-Agent: Mutt/1.5.21 (2010-09-15) X-Source-IP: ucsinet21.oracle.com [156.151.31.93] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4.x-2.6.x [generic] X-Received-From: 141.146.126.69 Cc: Matthew Garrett , "keir@xen.org" , "Woodhouse, David" , "stefano.stabellini@eu.citrix.com" , "linux-kernel@vger.kernel.org" , "xen-devel@lists.xen.org" , Jan Beulich , "ross.philipson@citrix.com" , "boris.ostrovsky@oracle.com" , "Maliszewski, Richard L" , "grub-devel@gnu.org" X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: The development of GNU GRUB List-Id: The development of GNU GRUB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Oct 2013 16:15:14 -0000 On Tue, Oct 22, 2013 at 05:08:03PM +0100, Ian Campbell wrote: > On Tue, 2013-10-22 at 18:01 +0200, Daniel Kiper wrote: > > On Tue, Oct 22, 2013 at 03:42:42PM +0000, Woodhouse, David wrote: > > > On Tue, 2013-10-22 at 16:32 +0100, Matthew Garrett wrote: > > > > > > > > There are two problems with this: > > > > > > > > 1) The kernel will only boot if it's signed with a key in db, not a key > > > > in MOK. > > > > 2) grub will read the kernel, but the kernel will have to read the > > > > initramfs using EFI calls. That means your initramfs must be on a FAT > > > > partition. > > > > > > > > If you're happy with those limitations then just use the chainloader > > > > command. If you're not, use the linuxefi command. > > > > > > Well, we're talking about booting the Xen hypervisor aren't we? > > > > > > So yes, there are reasons the Linux kernel uses the 'boot stub' the way > > > it does, but I'm not sure we advocate that Xen should emulate that in > > > all its 'glory'? > > > > Right, I think that sensible mixture of multiboot2 protocol (it is needed > > to pass at least modules list to Xen; IIRC, linuxefi uses Linux Boot protocol > > for it) with extension proposed by Vladimir and something similar to linuxefi > > command will solve our problem (I proposed it in my first email). Users which > > do not need SB may use upstream GRUB2 and others could use > > 'multiboot2efi extension'. > > Are you (going to be) in Edinburgh? Matthew was just explaining a bunch > of this stuff to me, it might be useful for you to get it from the > horses mouth instead of laundered through my brain (which is a bit > addled afterwards ;-)). Sadly no. However, if it is possible/needed I could participate in conference call. Daniel