[edk2-devel] [PATCH v3 6/6] OvmfPkg/Bhyve: install Acpi tables provided by FwCfg

Corvin Köhne posted 6 patches 2 years, 7 months ago
There is a newer version of this series
[edk2-devel] [PATCH v3 6/6] OvmfPkg/Bhyve: install Acpi tables provided by FwCfg
Posted by Corvin Köhne 2 years, 7 months ago
Signed-off-by: Corvin Köhne <corvink@FreeBSD.org>
Cc: Ard Biesheuvel <ardb+tianocore@kernel.org>
Cc: Gerd Hoffmann <kraxel@redhat.com>
Cc: Jiewen Yao <jiewen.yao@intel.com>
Cc: Jordan Justen <jordan.l.justen@intel.com>
Cc: Leif Lindholm <quic_llindhol@quicinc.com>
Cc: Peter Grehan <grehan@freebsd.org>
Cc: Rebecca Cran <rebecca@bsdio.com>
Cc: Sami Mujawar <sami.mujawar@arm.com>
---
 OvmfPkg/Bhyve/AcpiPlatformDxe/AcpiPlatform.c | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/OvmfPkg/Bhyve/AcpiPlatformDxe/AcpiPlatform.c b/OvmfPkg/Bhyve/AcpiPlatformDxe/AcpiPlatform.c
index 1e1c90614ea1..fb926a8bd803 100644
--- a/OvmfPkg/Bhyve/AcpiPlatformDxe/AcpiPlatform.c
+++ b/OvmfPkg/Bhyve/AcpiPlatformDxe/AcpiPlatform.c
@@ -249,6 +249,11 @@ InstallAcpiTables (
   EFI_ACPI_2_0_ROOT_SYSTEM_DESCRIPTION_POINTER  *Rsdp;
   EFI_STATUS                                    Status;
 
+  Status = InstallQemuFwCfgTables (AcpiTable);
+  if (!EFI_ERROR (Status)) {
+    return EFI_SUCCESS;
+  }
+
   Status = GetAcpiRsdpFromMemory (
              BHYVE_ACPI_PHYSICAL_ADDRESS,
              BHYVE_BIOS_PHYSICAL_END,
-- 
2.41.0



-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#106213): https://edk2.groups.io/g/devel/message/106213
Mute This Topic: https://groups.io/mt/99643188/1787277
Group Owner: devel+owner@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org]
-=-=-=-=-=-=-=-=-=-=-=-