OvmfPkg/Bhyve: fix build breakage after SEV-ES changes

Consume the SEV-ES-independent reset vector restored in the previous
patch. Use the Null instance of VmgExitLib.

Signed-off-by: Rebecca Cran <rebecca@bsdio.com>
Message-Id: <20201112053153.22038-3-rebecca@bsdio.com>
Acked-by: Peter Grehan <grehan@freebsd.org>
Reviewed-by: Laszlo Ersek <lersek@redhat.com>
This commit is contained in:
Rebecca Cran 2020-11-11 22:31:53 -07:00 committed by mergify[bot]
parent cabd0de9f6
commit 5e9a8a6dfb
2 changed files with 3 additions and 2 deletions

View File

@ -225,6 +225,7 @@
[LibraryClasses.common]
BaseCryptLib|CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf
VmgExitLib|UefiCpuPkg/Library/VmgExitLibNull/VmgExitLibNull.inf
[LibraryClasses.common.SEC]
!ifdef $(DEBUG_ON_SERIAL_PORT)
@ -571,7 +572,7 @@
#
################################################################################
[Components]
OvmfPkg/ResetVector/ResetVector.inf
OvmfPkg/Bhyve/ResetVector/ResetVector.inf
#
# SEC Phase modules

View File

@ -117,7 +117,7 @@ READ_LOCK_STATUS = TRUE
#
INF OvmfPkg/Sec/SecMain.inf
INF RuleOverride=RESET_VECTOR OvmfPkg/ResetVector/ResetVector.inf
INF RuleOverride=RESET_VECTOR OvmfPkg/Bhyve/ResetVector/ResetVector.inf
################################################################################
[FV.PEIFV]