[PATCH 0/1] x86/kexec: UKI support

2023-09-09 Thread Jan Hendrik Farr
Hello, this patch implements UKI support for kexec_file_load. It will require support in the kexec-tools userspace utility. For testing purposes the following can be used: https://github.com/Cydox/kexec-test/ There has been discussion on this topic in an issue on GitHub that is linked below for

[PATCH 1/1] x86/kexec: UKI support

2023-09-09 Thread Jan Hendrik Farr
make the kernel accept UKIs (Unified Kernel Images) for kexec_file_load. UKIs contain the kernel bzImage, initrd, and cmdline all packaged up as one EFI application. The main advantage of this is that the whole combination is signed together as a package for secure boot. This implementation parse

Re: [PATCH 0/1] x86/kexec: UKI support

2023-09-09 Thread Luca Boccassi
On Sat, 9 Sept 2023 at 17:19, Jan Hendrik Farr wrote: > > Hello, > > this patch implements UKI support for kexec_file_load. It will require support > in the kexec-tools userspace utility. For testing purposes the following can > be used: > https://github.com/Cydox/kexec-test/ > > There has been d

Re: [PATCH 0/1] x86/kexec: UKI support

2023-09-09 Thread Jan Hendrik Farr
> - the cmdline section is actually optional, just like it's optional to > pass it on a traditional kexec load, so it should be used if present, > but skipped if not Should be an easy fix. This should be updated in the UKI documentation as for other optional sections it's explicitly marked. I as

Re: [PATCH 0/1] x86/kexec: UKI support

2023-09-09 Thread Luca Boccassi
On Sat, 9 Sept 2023 at 18:58, Jan Hendrik Farr wrote: > > > - the cmdline section is actually optional, just like it's optional to > > pass it on a traditional kexec load, so it should be used if present, > > but skipped if not > > Should be an easy fix. > > This should be updated in the UKI docum