summaryrefslogtreecommitdiff
path: root/OvmfPkg/AcpiPlatformDxe/AcpiPlatform.c
diff options
context:
space:
mode:
Diffstat (limited to 'OvmfPkg/AcpiPlatformDxe/AcpiPlatform.c')
-rw-r--r--OvmfPkg/AcpiPlatformDxe/AcpiPlatform.c10
1 files changed, 4 insertions, 6 deletions
diff --git a/OvmfPkg/AcpiPlatformDxe/AcpiPlatform.c b/OvmfPkg/AcpiPlatformDxe/AcpiPlatform.c
index 6e0b6100b5..084c3931d0 100644
--- a/OvmfPkg/AcpiPlatformDxe/AcpiPlatform.c
+++ b/OvmfPkg/AcpiPlatformDxe/AcpiPlatform.c
@@ -256,16 +256,14 @@ AcpiPlatformEntryPoint (
if (XenDetected ()) {
Status = InstallXenTables (AcpiTable);
- if (EFI_ERROR (Status)) {
- Status = FindAcpiTablesInFv (AcpiTable);
- }
} else {
- Status = FindAcpiTablesInFv (AcpiTable);
+ Status = InstallQemuLinkedTables (AcpiTable);
}
+
if (EFI_ERROR (Status)) {
- return Status;
+ Status = FindAcpiTablesInFv (AcpiTable);
}
- return EFI_SUCCESS;
+ return Status;
}