RFC Allows the usage of xen_hypervisor and xen_module on x86_64
Get series with b4
b4 am [email protected]Versions newest first
- v1 RFC Latest5 patches 12 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | kern/list: Add a grub_list_length functiongrub-core/ include/ | +14 | 0 replies | |
| 2/5 | kern/list: Add a grub_list_append functiongrub-core/ include/ | +11 | 0 replies | |
| 3/5 | arm64/xen: Allows to use xen_hypervisor and xen_module on x86_64-efigrub-core/ grub-core/ | +15 | 4 replies | |
| 4/5 | arm64/xen: Use LoadFile2 protocol for Xen bootgrub-core/ include/ | +176 | 5 replies | |
| 5/5 | arm64/xen: Allows to use kernel command line from first modulegrub-core/ | +24 | 2 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [RFC PATCH 0/5] Allows the usage of xen_hypervisor and xen_module on x86_64
Currently xen_hypervisor and xen_module commands are available only for ARM64 EFI.
For x86_64 if the Xen format is portable executable there's no way to pass multiple modules (the feature is available using multiboot2 but only for ELF files).
So instead on adding new GRUB commands reuse the already available ones.
The modules are passed using LoadFile2 already used to pass initrd to Linux kernel.
An extension allows to pass also kernel file.
To pass command lines uses LoadOptions, EFI code already handles passing Xen and kernel command lines using LoadOptions.
Frediano Ziglio (5):
kern/list: Add a grub_list_length function
kern/list: Add a grub_list_append function
arm64/xen: Allows to use xen_hypervisor and xen_module on x86_64-efi arm64/xen: Use LoadFile2 protocol for Xen boot
arm64/xen: Allows to use kernel command line from first module
grub-core/Makefile.core.def | 2 + grub-core/kern/list.c | 22 ++++ grub-core/loader/arm64/xen_boot.c | 208 +++++++++++++++++++++++++++++- include/grub/efi/api.h | 5 + include/grub/list.h | 3 + 5 files changed, 239 insertions(+), 1 deletion(-)
Signature · 7 lines
2.43.0 _______________________________________________ Grub-devel mailing list [email protected] https://lists.gnu.org/mailman/listinfo/grub-devel