From 2ef0ff39e53d2d2af3859b783882eea6f0beda64 Mon Sep 17 00:00:00 2001 From: Min M Xu Date: Wed, 11 Jan 2023 09:22:33 +0800 Subject: OvmfPkg/AcpiPlatformDxe: Add log to show the installed tables BZ: https://bugzilla.tianocore.org/show_bug.cgi?id=4237 Commit 9fdc70af6ba8 wrongly removed the log from InstallQemuFwCfgTables after ACPI tables are successfully installed. This patch add the log back after all operations succeed. Cc: Laszlo Ersek Cc: Erdem Aktas Cc: James Bottomley Cc: Jiewen Yao Cc: Gerd Hoffmann Cc: Tom Lendacky Reported-by: Laszlo Ersek Reviewed-by: Laszlo Ersek Signed-off-by: Min Xu Message-Id: <20230111012235.189-5-min.m.xu@intel.com> --- OvmfPkg/AcpiPlatformDxe/QemuFwCfgAcpi.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/OvmfPkg/AcpiPlatformDxe/QemuFwCfgAcpi.c b/OvmfPkg/AcpiPlatformDxe/QemuFwCfgAcpi.c index 9711335c6c..4629214666 100644 --- a/OvmfPkg/AcpiPlatformDxe/QemuFwCfgAcpi.c +++ b/OvmfPkg/AcpiPlatformDxe/QemuFwCfgAcpi.c @@ -1264,6 +1264,8 @@ InstallQemuFwCfgTables ( S3Context = NULL; } + DEBUG ((DEBUG_INFO, "%a: installed %d tables\n", __FUNCTION__, Installed)); + UninstallAcpiTables: if (EFI_ERROR (Status)) { // -- cgit v1.2.3