xen/efi: Make boot more flexible, especially with GRUB2
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v4 Latest3 patches 5 repliesIn review
- v33 patches 5 repliesSuperseded
- v22 patches 1 replySuperseded
Earlier versions · 1
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v1 | 2 patches | 18 replies | Superseded |
Changes in v4 from the cover letter
- style update;
- coherency changes for LoadFile2.
Patches in v4 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | xen/efi: Handle cases where file didn't come from ESPxen/ | +29 | 0 replies | |
| 2/3 | xen/efi: Support loading initrd using GRUB2 LoadFile2 protocolxen/ xen/ xen/ | +91 | 0 replies | |
| 3/3 | xen/efi: Update error flow for read_file functionxen/ | +43 | 5 replies |
Reviews trailers per patch
1 of 3 patches has a Reviewed-by or Acked-by.
| Patch | Marek Marczykowski-Górecki |
|---|---|
| 1/3 | A-b |
| 2/3 | |
| 3/3 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v4 0/3] xen/efi: Make boot more flexible, especially with GRUB2
The combination of GRUB2, EFI and UKI allows potentially more flexibility. For instance is possible to load xen.efi from a no ESP partition leaving a boot loader like GRUB2 taking care of the file loading.
This however requires some changes in Xen to be less restrictive. Specifically for GRUB2 these changes allows the usage of "chainloader" command with UKI and reading xen.efi from no ESP (so no DeviceHandle set) and usage of "linux" and "initrd" commands to load separately the kernel (embedding using UKI) and initrd (using LoadFile2 protocol).
Changes since v1:
- keep read_file fatal when it was so;
- attempt to use LoadFile2 after trying object section;
- minor changes (see details on specific changes).
Changes since v2:
- update read_file style;
- added acked-by.
Changes since v3:
- style update;
- coherency changes for LoadFile2.
Frediano Ziglio (3):
xen/efi: Handle cases where file didn't come from ESP xen/efi: Support loading initrd using GRUB2 LoadFile2 protocol xen/efi: Update error flow for read_file function
xen/common/efi/boot.c | 177 +++++++++++++++++++++++++++++--------- xen/include/efi/efidevp.h | 2 + xen/include/efi/efiprot.h | 19 ++++ 3 files changed, 159 insertions(+), 39 deletions(-)
Signature · 1 line
2.43.0