Re: [PATCH v3 2/5] xen/x86: manually build xen.mb.efi binary

2021-06-09 Thread Jan Beulich
On 09.06.2021 15:18, Daniel Kiper wrote: > On Wed, May 19, 2021 at 04:35:00PM +0200, Jan Beulich wrote: >> On 19.05.2021 14:48, Daniel Kiper wrote: >>> On Wed, May 19, 2021 at 11:29:43AM +0200, Jan Beulich wrote: Also not sure what to do with Dwarf debug info, which just recently we

Re: [PATCH v3 2/5] xen/x86: manually build xen.mb.efi binary

2021-06-09 Thread Daniel Kiper
On Wed, May 19, 2021 at 04:35:00PM +0200, Jan Beulich wrote: > On 19.05.2021 14:48, Daniel Kiper wrote: > > On Wed, May 19, 2021 at 11:29:43AM +0200, Jan Beulich wrote: > >> On 18.05.2021 19:46, Daniel Kiper wrote: > >>> On Mon, May 17, 2021 at 03:24:28PM +0200, Jan Beulich wrote: > On

Re: [PATCH v3 2/5] xen/x86: manually build xen.mb.efi binary

2021-05-19 Thread Jan Beulich
On 19.05.2021 14:48, Daniel Kiper wrote: > On Wed, May 19, 2021 at 11:29:43AM +0200, Jan Beulich wrote: >> On 18.05.2021 19:46, Daniel Kiper wrote: >>> On Mon, May 17, 2021 at 03:24:28PM +0200, Jan Beulich wrote: On 17.05.2021 15:20, Daniel Kiper wrote: > On Mon, May 17, 2021 at

Re: [PATCH v3 2/5] xen/x86: manually build xen.mb.efi binary

2021-05-19 Thread Daniel Kiper
On Wed, May 19, 2021 at 11:29:43AM +0200, Jan Beulich wrote: > On 18.05.2021 19:46, Daniel Kiper wrote: > > On Mon, May 17, 2021 at 03:24:28PM +0200, Jan Beulich wrote: > >> On 17.05.2021 15:20, Daniel Kiper wrote: > >>> On Mon, May 17, 2021 at 08:48:32AM +0200, Jan Beulich wrote: > On

Re: [PATCH v3 2/5] xen/x86: manually build xen.mb.efi binary

2021-05-19 Thread Jan Beulich
On 18.05.2021 19:46, Daniel Kiper wrote: > On Mon, May 17, 2021 at 03:24:28PM +0200, Jan Beulich wrote: >> On 17.05.2021 15:20, Daniel Kiper wrote: >>> On Mon, May 17, 2021 at 08:48:32AM +0200, Jan Beulich wrote: On 07.05.2021 22:26, Bob Eshleman wrote: > What is your intuition WRT the

Re: [PATCH v3 2/5] xen/x86: manually build xen.mb.efi binary

2021-05-18 Thread Daniel Kiper
On Mon, May 17, 2021 at 03:24:28PM +0200, Jan Beulich wrote: > On 17.05.2021 15:20, Daniel Kiper wrote: > > On Mon, May 17, 2021 at 08:48:32AM +0200, Jan Beulich wrote: > >> On 07.05.2021 22:26, Bob Eshleman wrote: > >>> What is your intuition WRT the idea that instead of trying add a PE/COFF >

Re: [PATCH v3 2/5] xen/x86: manually build xen.mb.efi binary

2021-05-17 Thread Jan Beulich
On 17.05.2021 15:20, Daniel Kiper wrote: > On Mon, May 17, 2021 at 08:48:32AM +0200, Jan Beulich wrote: >> On 07.05.2021 22:26, Bob Eshleman wrote: >>> What is your intuition WRT the idea that instead of trying add a PE/COFF hdr >>> in front of Xen's mb2 bin, we instead go the route of introducing

Re: [PATCH v3 2/5] xen/x86: manually build xen.mb.efi binary

2021-05-17 Thread Daniel Kiper
On Mon, May 17, 2021 at 08:48:32AM +0200, Jan Beulich wrote: > On 07.05.2021 22:26, Bob Eshleman wrote: > > What is your intuition WRT the idea that instead of trying add a PE/COFF hdr > > in front of Xen's mb2 bin, we instead go the route of introducing valid mb2 > > entry points into xen.efi? >

Re: [PATCH v3 2/5] xen/x86: manually build xen.mb.efi binary

2021-05-17 Thread Jan Beulich
On 07.05.2021 22:26, Bob Eshleman wrote: > What is your intuition WRT the idea that instead of trying add a PE/COFF hdr > in front of Xen's mb2 bin, we instead go the route of introducing valid mb2 > entry points into xen.efi? At the first glance I think this is going to be less intrusive, and

Re: [PATCH v3 2/5] xen/x86: manually build xen.mb.efi binary

2021-05-07 Thread Bob Eshleman
Jan, I mulled over your feedback and I think I can now see your reservations with this series. I'm wondering if the long-term goal of using the xen mb1/mb2 binary as the basis for creating a EFI loadable mb1/mb2 payload is actually the wrong approach. After all, I do not see a feasible way to

Re: [PATCH v3 2/5] xen/x86: manually build xen.mb.efi binary

2021-03-15 Thread Jan Beulich
On 22.01.2021 01:51, Bobby Eshleman wrote: > From: Daniel Kiper > > This patch introduces xen.mb.efi which contains a manually built PE > header. > > This allows us to support Xen on UEFI Secure Boot-enabled hosts via > multiboot2. > > xen.mb.efi is a single binary that is loadable by a UEFI

[PATCH v3 2/5] xen/x86: manually build xen.mb.efi binary

2021-01-21 Thread Bobby Eshleman
From: Daniel Kiper This patch introduces xen.mb.efi which contains a manually built PE header. This allows us to support Xen on UEFI Secure Boot-enabled hosts via multiboot2. xen.mb.efi is a single binary that is loadable by a UEFI loader or via the Multiboot/Multiboot2 protocols.