audk/OvmfPkg/Library
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
..
AcpiPlatformLib OvmfPkg: move QemuFwCfgAcpi into AcpiPlatformLib 2023-06-23 17:26:37 +00:00
AcpiTimerLib
AmdSvsmLib OvmfPkg/AmdSvsmLib: Add support for the SVSM create/delete vCPU calls 2024-04-17 20:04:41 +00:00
BaseCachingPciExpressLib
BaseMemEncryptSevLib OvmfPkg/BaseMemEncryptLib: Check for presence of an SVSM when not at VMPL0 2024-04-17 20:04:41 +00:00
BaseMemEncryptTdxLib OvmfPkg/BaseMemEncryptTdxLib: Handle retry result of MapGPA 2023-11-09 17:15:39 +00:00
BasePciCapLib
BasePciCapPciSegmentLib
BhyveFwCtlLib
BlobVerifierLibNull
CcExitLib Ovmfpkg/CcExitLib: Provide SVSM discovery support 2024-04-17 20:04:41 +00:00
CcProbeLib
DxePciLibI440FxQ35
EmuVariableFvbLib
FdtSerialPortAddressLib ArmVirtPkg: Move the FdtSerialPortAddressLib to OvmfPkg 2024-02-06 23:51:47 +08:00
GenericQemuLoadImageLib
HardwareInfoLib
HashLibTdx OmvfPkg/HashLibTdx: Add HashLibTdx 2024-04-17 03:04:13 +00:00
LoadLinuxLib
LockBoxLib
MpInitLibDepLib
NestedInterruptTplLib OvmfPkg: Relax assertion that interrupts do not occur at TPL_HIGH_LEVEL 2023-05-09 22:09:50 +00:00
NvVarsFileLib OvmfPkg/NvVarsFileLib: disable in case PcdBootRestrictToFirmware is set 2023-05-10 13:39:41 +00:00
PciHostBridgeLib
PciHostBridgeLibScan
PciHostBridgeUtilityLib
PeilessStartupLib OvmfPkg/PeilessStartupLib: Updated with PcdSecureBootSupported 2023-07-17 04:59:35 +00:00
PlatformBmPrintScLib
PlatformBootManagerLib OvmfPkg/PlatformBootManagerLib: refer to virtio console subsys symbolically 2023-09-12 15:50:30 +00:00
PlatformBootManagerLibBhyve
PlatformBootManagerLibLight ArmVirtPkg: Move PlatformBootManagerLib to OvmfPkg 2024-02-06 23:51:47 +08:00
PlatformDebugLibIoPort
PlatformFvbLibNull
PlatformHasIoMmuLib
PlatformInitLib OvmfPkg/PlatformInitLib: add 5-level paging support 2024-02-29 09:56:38 +00:00
PlatformSecureLib
PxeBcPcdProducerLib
QemuBootOrderLib
QemuFwCfgLib
QemuFwCfgS3Lib
QemuFwCfgSimpleParserLib
ResetSystemLib
SerializeVariablesLib
SmbiosVersionLib
SmmCpuFeaturesLib OvmfPkg/Include: remove QemuSmramSaveStateMap.h 2023-09-07 15:47:58 +00:00
SmmCpuPlatformHookLibQemu
Tcg2PhysicalPresenceLibNull
Tcg2PhysicalPresenceLibQemu
TdxMailboxLib
TlsAuthConfigLib
UefiDriverEntryPointFwCfgOverrideLib
UefiPciCapPciIoLib
VirtioLib
VirtioMmioDeviceLib OvmfPkg/VirtioMmioDeviceLib: virtio 1.0: Fix SetQueueAlignment. 2023-04-12 12:41:17 +00:00
X86QemuLoadImageLib
XenConsoleSerialPortLib
XenHypercallLib
XenIoMmioLib
XenPlatformLib
XenRealTimeClockLib OvmfPkg: Align XenRealTimeClockLib function headers with return values 2024-02-09 22:16:32 +00:00