diff options
author | Gerd Hoffmann <kraxel@redhat.com> | 2024-09-05 16:12:10 +0200 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2024-12-16 07:31:28 +0100 |
commit | a5bd044b15793ab041102a1e784813f54912a836 (patch) | |
tree | cf2ef1e91c0daad40f6365fb908107eaa430fa7f /qemu-options.hx | |
parent | f2594d928444fc4d593117db2da8c9ffa26433f7 (diff) | |
download | qemu-a5bd044b15793ab041102a1e784813f54912a836.zip qemu-a5bd044b15793ab041102a1e784813f54912a836.tar.gz qemu-a5bd044b15793ab041102a1e784813f54912a836.tar.bz2 |
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>
Diffstat (limited to 'qemu-options.hx')
-rw-r--r-- | qemu-options.hx | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/qemu-options.hx b/qemu-options.hx index dacc979..cc694d3 100644 --- a/qemu-options.hx +++ b/qemu-options.hx @@ -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 |