Re: [PATCH v5 4/5] efi: Enable booting unified hypervisor/kernel/initrd images

2020-09-21 Thread Jan Beulich
On 21.09.2020 13:47, Trammell Hudson wrote: > On Friday, September 18, 2020 11:15 AM, Jan Beulich wrote: >> On 17.09.2020 17:40, Trammell Hudson wrote: >> Instead of forcing the caller to pass in a dot-prefixed name >> and you assuming it's a dot here, how about ... >> ... pe_find_section()

Re: [PATCH v5 4/5] efi: Enable booting unified hypervisor/kernel/initrd images

2020-09-21 Thread Trammell Hudson
On Friday, September 18, 2020 11:15 AM, Jan Beulich wrote: > On 17.09.2020 17:40, Trammell Hudson wrote: > Instead of forcing the caller to pass in a dot-prefixed name > and you assuming it's a dot here, how about ... > ... pe_find_section() looking for '.' followed by ? v6 adds a special name

Re: [PATCH v5 4/5] efi: Enable booting unified hypervisor/kernel/initrd images

2020-09-18 Thread Jan Beulich
On 17.09.2020 17:40, Trammell Hudson wrote: > @@ -624,6 +626,29 @@ static bool __init read_file(EFI_FILE_HANDLE dir_handle, > CHAR16 *name, > return true; > } > > +static bool __init read_section(const EFI_LOADED_IMAGE *image, > +char *const name, struct

[PATCH v5 4/5] efi: Enable booting unified hypervisor/kernel/initrd images

2020-09-17 Thread Trammell Hudson
This patch adds support for bundling the xen.efi hypervisor, the xen.cfg configuration file, the Linux kernel and initrd, as well as the XSM, and architectural specific files into a single "unified" EFI executable. This allows an administrator to update the components independently without