]> git.proxmox.com Git - mirror_edk2.git/commit
OvmfPkg/AmdSevDxe: Close mAcceptAllMemoryEvent
authorDionna Glaze <dionnaglaze@google.com>
Tue, 14 Feb 2023 23:07:19 +0000 (23:07 +0000)
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Wed, 15 Feb 2023 00:08:00 +0000 (00:08 +0000)
commit1b5420e8071b4f9ba13136f19365542dfe66bf04
tree61ab4ff3e2792a0d3802310327dbf72e7918e879
parentf67ec877041b18656fb0504ce86bd05af232747e
OvmfPkg/AmdSevDxe: Close mAcceptAllMemoryEvent

This event should only trigger once. It should be idempotent, but the
allocation of the memory map itself is observable and can cause
ExitBootServices to fail with a modified map key.

Cc: Thomas Lendacky <Thomas.Lendacky@amd.com>
Cc: Erdem Aktas <erdemaktas@google.com>
Cc: James Bottomley <jejb@linux.ibm.com>
Cc: Jiewen Yao <jiewen.yao@intel.com>
Cc: Min Xu <min.m.xu@intel.com>
Cc: Michael Roth <michael.roth@amd.com>
Signed-off-by: Dionna Glaze <dionnaglaze@google.com>
Reviewed-by: Ard Biesheuvel <ardb@kernel.org>
OvmfPkg/AmdSevDxe/AmdSevDxe.c