From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1YrqXj-0000JA-CP for mharc-grub-devel@gnu.org; Mon, 11 May 2015 12:26:59 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:35610) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YrqXh-0000Is-BO for grub-devel@gnu.org; Mon, 11 May 2015 12:26:58 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YrqXd-0006nh-IU for grub-devel@gnu.org; Mon, 11 May 2015 12:26:57 -0400 Received: from userp1040.oracle.com ([156.151.31.81]:17803) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YrqXd-0006n8-4V for grub-devel@gnu.org; Mon, 11 May 2015 12:26:53 -0400 Received: from aserv0021.oracle.com (aserv0021.oracle.com [141.146.126.233]) by userp1040.oracle.com (Sentrion-MTA-4.3.2/Sentrion-MTA-4.3.2) with ESMTP id t4BGQfba022808 (version=TLSv1 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Mon, 11 May 2015 16:26:41 GMT Received: from userv0121.oracle.com (userv0121.oracle.com [156.151.31.72]) by aserv0021.oracle.com (8.13.8/8.13.8) with ESMTP id t4BGQecr008912 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL); Mon, 11 May 2015 16:26:41 GMT Received: from abhmp0018.oracle.com (abhmp0018.oracle.com [141.146.116.24]) by userv0121.oracle.com (8.13.8/8.13.8) with ESMTP id t4BGQeF6001092; Mon, 11 May 2015 16:26:40 GMT Received: from l.oracle.com (/10.137.178.253) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Mon, 11 May 2015 09:26:39 -0700 Received: by l.oracle.com (Postfix, from userid 1000) id B75C46A0762; Mon, 11 May 2015 12:26:37 -0400 (EDT) Date: Mon, 11 May 2015 12:26:37 -0400 From: Konrad Rzeszutek Wilk To: Daniel Kiper , phcoder@gmail.com Subject: Is: grub2-mkconfig detecting ELF files the multiboot2 header and using proper module. Was:Re: [PATCH 0/5] multiboot2: Enable EFI boot services usage in loaded images Message-ID: <20150511162637.GA2794@l.oracle.com> References: <1422640768-28181-1-git-send-email-daniel.kiper@oracle.com> <20150209175505.GC2227@olila.local.net-space.pl> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20150209175505.GC2227@olila.local.net-space.pl> User-Agent: Mutt/1.5.23 (2014-03-12) X-Source-IP: aserv0021.oracle.com [141.146.126.233] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4.x-2.6.x [generic] X-Received-From: 156.151.31.81 Cc: jgross@suse.com, grub-devel@gnu.org, keir@xen.org, ian.campbell@citrix.com, stefano.stabellini@eu.citrix.com, andrew.cooper3@citrix.com, roy.franz@linaro.org, ning.sun@intel.com, david.vrabel@citrix.com, jbeulich@suse.com, phcoder@gmail.com, xen-devel@lists.xenproject.org, qiaowei.ren@intel.com, richard.l.maliszewski@intel.com, gang.wei@intel.com, fu.wei@linaro.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: Mon, 11 May 2015 16:26:58 -0000 On Mon, Feb 09, 2015 at 06:55:05PM +0100, Daniel Kiper wrote: > Hi all, > > On Fri, Jan 30, 2015 at 06:59:23PM +0100, Daniel Kiper wrote: > > Hi, > > > > This patch series enable EFI boot services usage > > in loaded images by multiboot2 protocol. > > Guys, do you have any comments on this patch series? > Should I fix something? Could you apply them to GRUB2 tree? Hey, Follow up part of this is to make 20_linux_xen.in be able to detect whether Xen.gz can be loaded using multiboot2. I was thinking to piggy-back on the patches which dropped the check on CONFIG_XEN_DOM0 in the Linux kernel config file as (I think so) it was inspecting the ELF of the Linux kernel and determining if it has ".note.Xen" (see http://xenbits.xen.org/docs/4.3-testing/misc/dump-core-format.txt or http://wiki.xen.org/wiki/X86_Paravirtualised_Memory_Management#Start_Of_Day) and using some of that logic to inspect the Xen to find the MB2 header? But I am having a hard time finding them? Vladimir do you remember where they might be? Thank you!