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 /include/hw/boards.h | |
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 'include/hw/boards.h')
-rw-r--r-- | include/hw/boards.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/hw/boards.h b/include/hw/boards.h index 7456889..5723ee7 100644 --- a/include/hw/boards.h +++ b/include/hw/boards.h @@ -431,6 +431,7 @@ struct MachineState { BootConfiguration boot_config; char *kernel_filename; char *kernel_cmdline; + char *shim_filename; char *initrd_filename; const char *cpu_type; AccelState *accelerator; |