OvmfPkg/AcpiPlatformDxe: Add log to show the installed tables

BZ: https://bugzilla.tianocore.org/show_bug.cgi?id=4237

Commit 9fdc70af6b 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 <lersek@redhat.com>
Cc: Erdem Aktas <erdemaktas@google.com>
Cc: James Bottomley <jejb@linux.ibm.com>
Cc: Jiewen Yao <jiewen.yao@intel.com>
Cc: Gerd Hoffmann <kraxel@redhat.com>
Cc: Tom Lendacky <thomas.lendacky@amd.com>
Reported-by: Laszlo Ersek <lersek@redhat.com>
Reviewed-by: Laszlo Ersek <lersek@redhat.com>
Signed-off-by: Min Xu <min.m.xu@intel.com>
Message-Id: <20230111012235.189-5-min.m.xu@intel.com>
This commit is contained in:
Min M Xu 2023-01-11 09:22:33 +08:00 committed by mergify[bot]
parent 165f1e4936
commit 2ef0ff39e5
1 changed files with 2 additions and 0 deletions

View File

@ -1264,6 +1264,8 @@ InstallQemuFwCfgTables (
S3Context = NULL;
}
DEBUG ((DEBUG_INFO, "%a: installed %d tables\n", __FUNCTION__, Installed));
UninstallAcpiTables:
if (EFI_ERROR (Status)) {
//