Skip to content

GRUB: Supporting Secure Boot of xen

Ross Lagerwall via Grub-devel grub-devel xen-devel 2 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest3 patches 0 repliesNew
  2. v17 patches 19 repliesSuperseded

Changes in v2 from the cover letter

* Use magic numbers to determine whether to load as ELF or PE rather than introducing a load type tag.
* Drop the 64 bit entry address extensions to the protocol - this is no longer necessary after some Xen build changes.
* Dropped the patch to allow verification after compression since it is not critical to make this work.

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3multiboot2: Add support for the PE binary typedoc/multiboot.texi+11 -80 replies
2/3multiboot2: Add PE load supportgrub-core/Makefile.core.def grub-core/loader/multiboot.c grub-core/loader/multiboot_mbi2.c +4 more+796 -10 replies
3/3efi: Allow loading multiboot modules without verificationgrub-core/kern/efi/sb.c+1 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH v2 0/3] GRUB: Supporting Secure Boot of xen

This patch series implements support for loading and verifying a signed xen binary. This would allow the same xen binary to be used for BIOS boot, UEFI boot, and UEFI boot with Secure Boot verification. There is an accompanying Xen patch series.

The first patch updates the multiboot2 specification to allow PE binaries.

Patch 2 implements the spec change.
Patch 3 allows loading multiboot modules without verification since the multiboot kernel is expected to verify them if needed.

Ross

Changed in v2:

* Use magic numbers to determine whether to load as ELF or PE rather than introducing a load type tag.
* Drop the 64 bit entry address extensions to the protocol - this is no longer necessary after some Xen build changes.
* Dropped the patch to allow verification after compression since it is not critical to make this work.

Diff stat for patch 1 (to be applied to the "multiboot2" branch):

Ross Lagerwall (1):
multiboot2: Add support for the PE binary type

 doc/multiboot.texi | 19 +++++++++++--------
 1 file changed, 11 insertions(+), 8 deletions(-)

Diff stat for patch 2 and 3 (to be applied to the "master" branch):

Ross Lagerwall (2):
multiboot2: Add PE load support
efi: Allow loading multiboot modules without verification

 grub-core/Makefile.core.def       |   1 +
 grub-core/kern/efi/sb.c           |   1 +
 grub-core/loader/multiboot.c      |   7 +
 grub-core/loader/multiboot_mbi2.c |  11 +-
 grub-core/loader/multiboot_pe.c   | 702 ++++++++++++++++++++++++++++++
 include/grub/efi/pe32.h           |  64 +++
 include/grub/multiboot.h          |   3 +
 include/grub/multiboot2.h         |   9 +
 8 files changed, 797 insertions(+), 1 deletion(-)
 create mode 100644 grub-core/loader/multiboot_pe.c
Signature · 1 line
2.43.0