From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1gKmQG-0000No-QK for mharc-grub-devel@gnu.org; Thu, 08 Nov 2018 10:40:44 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:51842) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gKmQB-0000LL-32 for grub-devel@gnu.org; Thu, 08 Nov 2018 10:40:44 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gKmPz-0006jL-Ax for grub-devel@gnu.org; Thu, 08 Nov 2018 10:40:34 -0500 Received: from mx2.suse.de ([195.135.220.15]:45002 helo=mx1.suse.de) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gKmPy-0006gq-VL for grub-devel@gnu.org; Thu, 08 Nov 2018 10:40:27 -0500 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.220.254]) by mx1.suse.de (Postfix) with ESMTP id 0FA6DACE8; Thu, 8 Nov 2018 15:40:21 +0000 (UTC) Subject: Re: [PATCH v4 05/19] xen: add some dummy headers for PVH mode To: Daniel Kiper Cc: grub-devel@gnu.org, xen-devel@lists.xen.org, phcoder@gmail.com, hans@knorrie.org References: <20181102123738.16395-1-jgross@suse.com> <20181102123738.16395-6-jgross@suse.com> <20181107122115.GG4358@olila.i.net-space.pl> <4fc4f85b-7bc0-b1a5-7ad4-eedebc835ea8@suse.com> <20181108153648.GG4487@olila.i.net-space.pl> From: Juergen Gross Openpgp: preference=signencrypt Autocrypt: addr=jgross@suse.com; prefer-encrypt=mutual; keydata= xsBNBFOMcBYBCACgGjqjoGvbEouQZw/ToiBg9W98AlM2QHV+iNHsEs7kxWhKMjrioyspZKOB ycWxw3ie3j9uvg9EOB3aN4xiTv4qbnGiTr3oJhkB1gsb6ToJQZ8uxGq2kaV2KL9650I1SJve dYm8Of8Zd621l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AKCRCw3p3W KL8TL0P4B/9YWver5uD/y/m0KScK2f3Z3mXJhME23vGBbMNlfwbr+meDMrJZ950CuWWnQ+d+ Ahe0w1X7e3wuLVODzjcReQ/v7b4JD3wwHxe+88tgB9byc0NXzlPJWBaWV01yB2/uefVKryAf AHYEd0gCRhx7eESgNBe3+YqWAQawunMlycsqKa09dBDL1PFRosF708ic9346GLHRc6Vj5SRA UTHnQqLetIOXZm3a2eQ1gpQK9MmruO86Vo93p39bS1mqnLLspVrL4rhoyhsOyh0Hd28QCzpJ wKeHTd0MAWAirmewHXWPco8p1Wg+V+5xfZzuQY0f4tQxvOpXpt4gQ1817GQ5/Ed/wsDtBBgB CAAgFiEEhRJncuj2BJSl0Jf3sN6d1ii/Ey8FAlrd8NACGwIAgQkQsN6d1ii/Ey92IAQZFggA HRYhBFMtsHpB9jjzHji4HoBcYbtP2GO+BQJa3fDQAAoJEIBcYbtP2GO+TYsA/30H/0V6cr/W V+J/FCayg6uNtm3MJLo4rE+o4sdpjjsGAQCooqffpgA+luTT13YZNV62hAnCLKXH9n3+ZAgJ RtAyDWk1B/0SMDVs1wxufMkKC3Q/1D3BYIvBlrTVKdBYXPxngcRoqV2J77lscEvkLNUGsu/z W2pf7+P3mWWlrPMJdlbax00vevyBeqtqNKjHstHatgMZ2W0CFC4hJ3YEetuRBURYPiGzuJXU pAd7a7BdsqWC4o+GTm5tnGrCyD+4gfDSpkOT53S/GNO07YkPkm/8J4OBoFfgSaCnQ1izwgJQ jIpcG2fPCI2/hxf2oqXPYbKr1v4Z1wthmoyUgGN0LPTIm+B5vdY82wI5qe9uN6UOGyTH2B3p hRQUWqCwu2sqkI3LLbTdrnyDZaixT2T0f4tyF5Lfs+Ha8xVMhIyzNb1byDI5FKCb Message-ID: <44c38b96-2eeb-c489-39ce-9ab7c31b35ce@suse.com> Date: Thu, 8 Nov 2018 16:40:19 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.2.1 MIME-Version: 1.0 In-Reply-To: <20181108153648.GG4487@olila.i.net-space.pl> Content-Type: text/plain; charset=utf-8 Content-Language: de-DE Content-Transfer-Encoding: 7bit X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x (no timestamps) [generic] X-Received-From: 195.135.220.15 X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: The development of GNU GRUB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Nov 2018 15:40:44 -0000 On 08/11/2018 16:36, Daniel Kiper wrote: > On Wed, Nov 07, 2018 at 03:49:51PM +0100, Juergen Gross wrote: >> On 07/11/2018 13:21, Daniel Kiper wrote: >>> On Fri, Nov 02, 2018 at 01:37:24PM +0100, Juergen Gross wrote: >>>> With Xen PVH mode adding a new machine type the machine related headers >>>> need to be present for the build to succeed. Most of the headers just >>>> need to include the related common i386 headers. Add those to the tree. >>>> >>>> Signed-off-by: Juergen Gross >>>> --- >>>> V3: updated commit message (Daniel Kiper) >>>> xenpvh->xen_pvh (Daniel Kiper) >>>> --- >>>> include/grub/i386/xen_pvh/boot.h | 1 + >>>> include/grub/i386/xen_pvh/console.h | 1 + >>>> include/grub/i386/xen_pvh/int.h | 1 + >>>> include/grub/i386/xen_pvh/memory.h | 1 + >>>> include/grub/i386/xen_pvh/time.h | 1 + >>>> 5 files changed, 5 insertions(+) >>>> create mode 100644 include/grub/i386/xen_pvh/boot.h >>>> create mode 100644 include/grub/i386/xen_pvh/console.h >>>> create mode 100644 include/grub/i386/xen_pvh/int.h >>>> create mode 100644 include/grub/i386/xen_pvh/memory.h >>>> create mode 100644 include/grub/i386/xen_pvh/time.h >>>> >>>> diff --git a/include/grub/i386/xen_pvh/boot.h b/include/grub/i386/xen_pvh/boot.h >>>> new file mode 100644 >>>> index 000000000..6cd23aa83 >>>> --- /dev/null >>>> +++ b/include/grub/i386/xen_pvh/boot.h >>>> @@ -0,0 +1 @@ >>>> +#include >>>> diff --git a/include/grub/i386/xen_pvh/console.h b/include/grub/i386/xen_pvh/console.h >>>> new file mode 100644 >>>> index 000000000..305a46d8e >>>> --- /dev/null >>>> +++ b/include/grub/i386/xen_pvh/console.h >>>> @@ -0,0 +1 @@ >>>> +#include >>>> diff --git a/include/grub/i386/xen_pvh/int.h b/include/grub/i386/xen_pvh/int.h >>>> new file mode 100644 >>>> index 000000000..0f1f9ee62 >>>> --- /dev/null >>>> +++ b/include/grub/i386/xen_pvh/int.h >>>> @@ -0,0 +1 @@ >>>> +#include >>> >>> I think that this begs for explanation in the commit message >>> why not grub/i386/pc/int.h. >> >> Okay. >> >>> >>>> diff --git a/include/grub/i386/xen_pvh/memory.h b/include/grub/i386/xen_pvh/memory.h >>>> new file mode 100644 >>>> index 000000000..8dd6f7c8c >>>> --- /dev/null >>>> +++ b/include/grub/i386/xen_pvh/memory.h >>>> @@ -0,0 +1 @@ >>>> +#include >>> >>> Hmmm... Why not include/grub/i386/pc/memory.h? >> >> The coreboot variant is containing the stubs grub_machine_mmap_register >> and grub_machine_mmap_unregister I need, with the pc variant I'd have to >> add those to xen-pvh code. >> >> Using the coreboot variant for that purpose seems to be common practice: >> include/grub/i386/qemu/memory.h >> include/grub/i386/ieee1275/memory.h >> include/grub/i386/multiboot/memory.h >> are doing exactly the same. > > I am OK with it then. However, please say about that in the commit > message. Otherwise it looks like a mistake. Will do. Juergen