diff options
| author | Gerd Hoffmann <kraxel@redhat.com> | 2026-08-14 16:43:30 +0300 |
|---|---|---|
| committer | Ard Biesheuvel <ardb@kernel.org> | 2026-08-27 19:57:22 +0300 |
| commit | 61733cb16c5d6c1b50fbff291b87fedb0fe74755 (patch) | |
| tree | 2612c28549ca40e746e14ccee9e48e53056d11ad /MdeModulePkg/Library/PiDxeS3BootScriptLib/BootScriptSave.c | |
| parent | 125e8f8622b31a773e6aa9bba6ddb69fe2519e0e (diff) | |
| download | edk2-61733cb16c5d6c1b50fbff291b87fedb0fe74755.tar.xz | |
OvmfPkg/QemuFlashFvbServicesRuntimeDxe: reject insecure pflash config
In case the variable store is backed by qemu pflash make sure the edk2
build and the virtual machine setup are properly configured for secure
boot.
With this patch applied the pflash driver will only load if:
(a) The edk2 build uses SMM to properly protect pflash storage, or
(b) The edk2 build has secure boot support turned off.
Should that not be the case the firmware will CpuDeadLoop().
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'MdeModulePkg/Library/PiDxeS3BootScriptLib/BootScriptSave.c')
0 files changed, 0 insertions, 0 deletions
