From 6944acabf2aa916e7f321c28f19e7d95b155df99 Mon Sep 17 00:00:00 2001 From: Tom Lendacky Date: Mon, 18 Nov 2024 12:59:32 -0600 Subject: [PATCH] OvmfPkg/EmuVariableFvbRuntimeDxe: Issue NV vars initializitation message Add a debug message that indicates when the NV variables are being initialized through the template structure. Signed-off-by: Tom Lendacky (cherry picked from commit 6142f0a8a53557ba50300c762a15bf3c18382162) --- OvmfPkg/EmuVariableFvbRuntimeDxe/Fvb.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/OvmfPkg/EmuVariableFvbRuntimeDxe/Fvb.c b/OvmfPkg/EmuVariableFvbRuntimeDxe/Fvb.c index c07e38966e..cc476c7df2 100644 --- a/OvmfPkg/EmuVariableFvbRuntimeDxe/Fvb.c +++ b/OvmfPkg/EmuVariableFvbRuntimeDxe/Fvb.c @@ -692,6 +692,8 @@ InitializeFvAndVariableStoreHeaders ( // Fv = (EFI_FIRMWARE_VOLUME_HEADER *)Ptr; Fv->Checksum = CalculateCheckSum16 (Ptr, Fv->HeaderLength); + + DEBUG ((DEBUG_INFO, "EMU Variable FVB: Initialized FV using template structure\n")); } /**