]> git.proxmox.com Git - mirror_edk2.git/commit
OvmfPkg/XenAcpiPlatformDxe: remove QEMU fw_cfg dependency
authorLaszlo Ersek <lersek@redhat.com>
Wed, 26 May 2021 20:14:17 +0000 (22:14 +0200)
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Fri, 4 Jun 2021 16:01:50 +0000 (16:01 +0000)
commitd6ba8aa6ef628f5d865865e0aba4a329ee0d0728
tree55186559e03fef5d6bc4744bf1c2ed242d438d3a
parent4115840c282660b071dbd53c08516e437df1ad0b
OvmfPkg/XenAcpiPlatformDxe: remove QEMU fw_cfg dependency

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@citrix.com>
Cc: Ard Biesheuvel <ardb+tianocore@kernel.org>
Cc: Jordan Justen <jordan.l.justen@intel.com>
Cc: Julien Grall <julien@xen.org>
Cc: Philippe Mathieu-Daudé <philmd@redhat.com>
Ref: https://bugzilla.tianocore.org/show_bug.cgi?id=2122
Signed-off-by: Laszlo Ersek <lersek@redhat.com>
Message-Id: <20210526201446.12554-15-lersek@redhat.com>
Reviewed-by: Ard Biesheuvel <ardb@kernel.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
OvmfPkg/XenAcpiPlatformDxe/AcpiPlatform.c
OvmfPkg/XenAcpiPlatformDxe/AcpiPlatform.h
OvmfPkg/XenAcpiPlatformDxe/Qemu.c [deleted file]
OvmfPkg/XenAcpiPlatformDxe/XenAcpiPlatformDxe.inf