]> git.proxmox.com Git - mirror_edk2.git/commit
OvmfPkg/OvmfXen: fix build by providing QemuLoadImageLib resolution
authorArd Biesheuvel <ard.biesheuvel@linaro.org>
Thu, 5 Mar 2020 21:21:15 +0000 (22:21 +0100)
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Fri, 6 Mar 2020 07:21:43 +0000 (07:21 +0000)
commit80681884319d7ad45987348d30bae60cd3a43afb
tree06c30e7ab3a1f66a6aec5006c0a65d74b55e3640
parent1f3b1eb3082206e4efc4091982a208022b86c7ca
OvmfPkg/OvmfXen: fix build by providing QemuLoadImageLib resolution

Commit 859b55443a4253ba ("OvmfPkg/PlatformBootManagerLib: switch to
QemuLoadImageLib") replaced a dependency on LoadLinuxLib with one on
QemuLoadImageLib in the PlatformBootManagerLib implementation that is
shared between all OVMF builds, without taking into account that even
the Xen targeted builds incorporate this code, which is only used to
load kernels passed via the QEMU command line.

Since this is dead code on Xen, we can satisfy the dependency using
the generic version of QemuLoadImageLib, which does not rely on
LoadLinuxLib, which we can therefore drop from OvmfXen.dsc.

Fixes: 859b55443a4253bad8bb618d04a51b2ded67f24b
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Reviewed-by: Laszlo Ersek <lersek@redhat.com>
OvmfPkg/OvmfXen.dsc