audk/OvmfPkg/Library/BaseMemEncryptSevLib/X64
Tom Lendacky 0afb874349 OvmfPkg/BaseMemEncryptLib: Check for presence of an SVSM when not at VMPL0
BZ: https://bugzilla.tianocore.org/show_bug.cgi?id=4654

Currently, an SEV-SNP guest will terminate if it is not running at VMPL0.
The requirement for running at VMPL0 is removed if an SVSM is present.

Update the current VMPL0 check to additionally check for the presence of
an SVSM is the guest is not running at VMPL0.

Cc: Ard Biesheuvel <ardb+tianocore@kernel.org>
Cc: Erdem Aktas <erdemaktas@google.com>
Cc: Gerd Hoffmann <kraxel@redhat.com>
Cc: Jiewen Yao <jiewen.yao@intel.com>
Cc: Laszlo Ersek <lersek@redhat.com>
Cc: Michael Roth <michael.roth@amd.com>
Cc: Min Xu <min.m.xu@intel.com>
Acked-by: Gerd Hoffmann <kraxel@redhat.com>
Signed-off-by: Tom Lendacky <thomas.lendacky@amd.com>
2024-04-17 20:04:41 +00:00
..
DxeSnpSystemRamValidate.c OvmfPkg/BaseMemEncryptSevLib: Re-organize page state change support 2024-04-17 18:30:03 +00:00
MemEncryptSevLib.c OvmfPkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
PeiDxeVirtualMemory.c OvmfPkg/BaseMemEncryptSevLib: Re-organize page state change support 2024-04-17 18:30:03 +00:00
PeiSnpSystemRamValidate.c OvmfPkg/BaseMemEncryptSevLib: Re-organize page state change support 2024-04-17 18:30:03 +00:00
SecSnpSystemRamValidate.c OvmfPkg/BaseMemEncryptLib: Check for presence of an SVSM when not at VMPL0 2024-04-17 20:04:41 +00:00
SecVirtualMemory.c OvmfPkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
SnpPageStateChange.h OvmfPkg/BaseMemEncryptSevLib: Re-organize page state change support 2024-04-17 18:30:03 +00:00
SnpPageStateChangeInternal.c OvmfPkg/BaseMemEncryptSevLib: Maximize Page State Change efficiency 2024-04-17 20:04:41 +00:00
VirtualMemory.c OvmfPkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
VirtualMemory.h OvmfPkg/MemEncryptSevLib: add support to validate > 4GB memory in PEI phase 2021-12-09 06:28:10 +00:00