x86/loader: add -shim option
Add new -shim command line option, wire up for the x86 loader. When specified load shim into the new "etc/boot/shim" fw_cfg file. Needs OVMF changes too to be actually useful. Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> Message-ID: <20240905141211.1253307-6-kraxel@redhat.com>
This commit is contained in:
parent
f2594d9284
commit
a5bd044b15
5 changed files with 53 additions and 0 deletions
|
|
@ -4145,6 +4145,13 @@ SRST
|
|||
or in multiboot format.
|
||||
ERST
|
||||
|
||||
DEF("shim", HAS_ARG, QEMU_OPTION_shim, \
|
||||
"-shim shim.efi use 'shim.efi' to boot the kernel\n", QEMU_ARCH_ALL)
|
||||
SRST
|
||||
``-shim shim.efi``
|
||||
Use 'shim.efi' to boot the kernel
|
||||
ERST
|
||||
|
||||
DEF("append", HAS_ARG, QEMU_OPTION_append, \
|
||||
"-append cmdline use 'cmdline' as kernel command line\n", QEMU_ARCH_ALL)
|
||||
SRST
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue