Docs update for 2026-06-16
The following changes since commit b0df6e2f2c6c45df8d4d286933799c623e124d98:
Merge tag 'pull-riscv-to-apply-20260616' of https://github.com/alistair23/qemu into staging (2026-06-16 10:41:47 -0400)
are available in the Git repository at:
https://gitlab.com/p-b-o/qemu tags/pbouvier/pr/docs-20260616
for you to fetch changes up to f00622a929b296902f9b23a5fd5dc1b5988e669a:
add a note on -shim to direct kernel boot docs (2026-06-16 10:48:14 -0700)
----------------------------------------------------------------
Changes:
- [PATCH v2] add a note on -shim to direct kernel boot docs (Gerd Hoffmann <[email protected]>)
----------------------------------------------------------------
Gerd Hoffmann (1):
add a note on -shim to direct kernel boot docs
docs/system/linuxboot.rst | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-)
[PULL 1/1] add a note on -shim to direct kernel boot docs
From: Gerd Hoffmann <[email protected]>
--- docs/system/linuxboot.rst | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-)
docs/system/linuxboot.rst +18 -1
@@ -1,4 +1,4 @@ -.. _direct_005flinux_005fboot: +k.. _direct_005flinux_005fboot0 Direct Linux Boot -----------------
@@ -17,6 +17,23 @@ Use ``-kernel`` to provide the Linux kernel image and ``-append`` to give the kernel command line arguments. The ``-initrd`` option can be used to provide an INITRD image. +The ``-shim`` option specifies the ``shim.efi`` binary. This is needed +when you are booting UEFI firmware and using the ``-kernel`` option to +tell UEFI to boot a specific kernel image, and the UEFI firmware you +are booting has UEFI secure boot enabled. + +When this option is specified, the guest UEFI firmware will first +load, verify and run the shim binary, which is typically signed by +Microsoft so the firmware accepts it. The shim binary in turn will +load and verify the Linux kernel. The kernel is typically signed by +the distro and the certificates needed to verify them are compiled +into the shim binary, so shim and kernel must come from the same Linux +distribution. + +Usually you can find shim.efi as ``EFI/BOOT/BOOT{X64,AA64}.EFI`` on +distro install media. You might find a second shim copy in the +``EFI/$distro/`` directory. + If you do not need graphical output, you can disable it and redirect the virtual serial port and the QEMU monitor to the console with the ``-nographic`` option. The typical command line is:
Signature · 1 line
2.47.3
Quoted 15 lines · Pierrick Bouvier
The following changes since commit
b0df6e2f2c6c45df8d4d286933799c623e124d98:Merge tag 'pull-riscv-to-apply-20260616' of https://github.com/alistair23/qemu into staging (2026-06-16 10:41:47 -0400)
are available in the Git repository at:
https://gitlab.com/p-b-o/qemu tags/pbouvier/pr/docs-20260616
for you to fetch changes up to
f00622a929b296902f9b23a5fd5dc1b5988e669a:add a note on -shim to direct kernel boot docs (2026-06-16 10:48:14 -0700)
----------------------------------------------------------------
Changes:
- [PATCH v2] add a note on -shim to direct kernel boot docs (Gerd Hoffmann <[email protected]>)
Quoted 8 lines
----------------------------------------------------------------
Gerd Hoffmann (1):
add a note on -shim to direct kernel boot docsdocs/system/linuxboot.rst | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-)
Please ignore this PR, as the patch has incorrect content that was added when amending it.
The correct PR is:
https://lore.kernel.org/qemu-devel/[email protected]/T/#t
Sorry for the noise,
Pierrick