[PATCH 0/3] hw/arm: add support for shim loading

Gerd Hoffmann posted 3 patches 1 week, 2 days ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20260521112806.504961-1-kraxel@redhat.com
Maintainers: Peter Maydell <peter.maydell@linaro.org>, "Michael S. Tsirkin" <mst@redhat.com>, Paolo Bonzini <pbonzini@redhat.com>, Richard Henderson <richard.henderson@linaro.org>, "Philippe Mathieu-Daudé" <philmd@linaro.org>, Gerd Hoffmann <kraxel@redhat.com>
hw/arm/boot.c             |  6 ++++++
hw/i386/x86-common.c      | 15 ++-------------
hw/nvram/fw_cfg.c         | 22 ++++++++++++++++++++++
include/hw/arm/boot.h     |  1 +
include/hw/nvram/fw_cfg.h | 15 +++++++++++++++
5 files changed, 46 insertions(+), 13 deletions(-)
[PATCH 0/3] hw/arm: add support for shim loading
Posted by Gerd Hoffmann 1 week, 2 days ago
Also little refactoring in preparation
to avoid code duplication.

Gerd Hoffmann (3):
  hw/nvram: add load_image_to_fw_cfg_file()
  hw/i386: switch shim loading to load_image_to_fw_cfg_file
  hw/arm: add support for shim loading

 hw/arm/boot.c             |  6 ++++++
 hw/i386/x86-common.c      | 15 ++-------------
 hw/nvram/fw_cfg.c         | 22 ++++++++++++++++++++++
 include/hw/arm/boot.h     |  1 +
 include/hw/nvram/fw_cfg.h | 15 +++++++++++++++
 5 files changed, 46 insertions(+), 13 deletions(-)

-- 
2.54.0
Re: [PATCH 0/3] hw/arm: add support for shim loading
Posted by Peter Maydell 2 days, 2 hours ago
On Thu, 21 May 2026 at 12:28, Gerd Hoffmann <kraxel@redhat.com> wrote:
>
> Also little refactoring in preparation
> to avoid code duplication.
>
> Gerd Hoffmann (3):
>   hw/nvram: add load_image_to_fw_cfg_file()
>   hw/i386: switch shim loading to load_image_to_fw_cfg_file
>   hw/arm: add support for shim loading

Any chance of some information on what this is?

There's no real description of it in the commit messages,
and as far as I can see the only documentation we have
is the rather cryptic:
  -shim shim.efi
    Use ‘shim.efi’ to boot the kernel
in the "Invocation" section...

thanks
-- PMM