On Wed, Dec 01, 2021 at 12:04:36PM +0100, sebastien.bo...@intel.com wrote:
> From: Sebastien Boeuf <sebastien.bo...@intel.com>
> 
> Adding support for retrieving the Cloud Hypervisor ACPI tables as a
> fallback mechanism if tables are not found through fw_cfg.
> 
> Signed-off-by: Rob Bradford <robert.bradf...@intel.com>
> Signed-off-by: Sebastien Boeuf <sebastien.bo...@intel.com>
> ---
>  OvmfPkg/AcpiPlatformDxe/AcpiPlatform.c      |   4 +
>  OvmfPkg/AcpiPlatformDxe/AcpiPlatform.h      |   6 +
>  OvmfPkg/AcpiPlatformDxe/AcpiPlatformDxe.inf |   1 +
>  OvmfPkg/AcpiPlatformDxe/CloudHvAcpi.c       | 117 ++++++++++++++++++++
>  OvmfPkg/Include/IndustryStandard/CloudHv.h  |   5 +
>  5 files changed, 133 insertions(+)
>  create mode 100644 OvmfPkg/AcpiPlatformDxe/CloudHvAcpi.c
> 
> diff --git a/OvmfPkg/AcpiPlatformDxe/AcpiPlatform.c 
> b/OvmfPkg/AcpiPlatformDxe/AcpiPlatform.c
> index 613a8ac97f..abd1f550d4 100644
> --- a/OvmfPkg/AcpiPlatformDxe/AcpiPlatform.c
> +++ b/OvmfPkg/AcpiPlatformDxe/AcpiPlatform.c
> @@ -29,5 +29,9 @@ InstallAcpiTables (
>    EFI_STATUS                         Status;
>  
>    Status = InstallQemuFwCfgTables (AcpiTable);
> +  if (EFI_ERROR (Status)) {
> +    Status = InstallCloudHvTables (AcpiTable);
> +  }

Same here, I think you should use the host bridge pcd.

take care,
  Gerd



-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#84208): https://edk2.groups.io/g/devel/message/84208
Mute This Topic: https://groups.io/mt/87429200/21656
Group Owner: devel+ow...@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-


Reply via email to