[edk2-devel] [PATCH 14/43] OvmfPkg/XenAcpiPlatformDxe: remove QEMU fw_cfg dependency

Philippe Mathieu-Daudé philmd at redhat.com
Thu May 27 08:39:15 UTC 2021


On 5/26/21 10:14 PM, Laszlo Ersek wrote:
> The QemuDetected() function wraps QemuFwCfgIsAvailable(); it always fails
> on Xen. Because of that, we can eliminate the QemuDetected() call itself
> from the Xen ACPI platform driver, and then the rest of "Qemu.c" becomes
> useless -- the workhorse function of that source file is
> QemuInstallAcpiTable(), which we no longer call.
> 
> Remove any dependencies that are no longer needed by the
> XenAcpiPlatformDxe driver.
> 
> Cc: Anthony Perard <anthony.perard at citrix.com>
> Cc: Ard Biesheuvel <ardb+tianocore at kernel.org>
> Cc: Jordan Justen <jordan.l.justen at intel.com>
> Cc: Julien Grall <julien at xen.org>
> Cc: Philippe Mathieu-Daudé <philmd at redhat.com>
> Ref: https://bugzilla.tianocore.org/show_bug.cgi?id=2122
> Signed-off-by: Laszlo Ersek <lersek at redhat.com>
> ---
>  OvmfPkg/XenAcpiPlatformDxe/XenAcpiPlatformDxe.inf |   9 -
>  OvmfPkg/XenAcpiPlatformDxe/AcpiPlatform.h         |  14 -
>  OvmfPkg/XenAcpiPlatformDxe/AcpiPlatform.c         |   9 +-
>  OvmfPkg/XenAcpiPlatformDxe/Qemu.c                 | 511 --------------------
>  4 files changed, 1 insertion(+), 542 deletions(-)

Reviewed-by: Philippe Mathieu-Daude <philmd at redhat.com>



-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#75779): https://edk2.groups.io/g/devel/message/75779
Mute This Topic: https://groups.io/mt/83110563/1813853
Group Owner: devel+owner at edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [edk2-devel-archive at redhat.com]
-=-=-=-=-=-=-=-=-=-=-=-





More information about the edk2-devel-archive mailing list