]> git.proxmox.com Git - mirror_edk2.git/commit
OvmfPkg/QemuKernelLoaderFsDxe: add support for new Linux initrd device path
authorArd Biesheuvel <ard.biesheuvel@linaro.org>
Sat, 29 Feb 2020 12:59:52 +0000 (13:59 +0100)
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Thu, 5 Mar 2020 19:45:05 +0000 (19:45 +0000)
commitf98608ab3f237595839a78d89dc6bd6c6c6b0252
tree6c8def104ccd9416064f8191845079192866d2f4
parent859b55443a4253bad8bb618d04a51b2ded67f24b
OvmfPkg/QemuKernelLoaderFsDxe: add support for new Linux initrd device path

Linux v5.7 will introduce a new method to load the initial ramdisk
(initrd) from the loader, using the LoadFile2 protocol installed on a
special vendor GUIDed media device path.

Add support for this to our QEMU command line kernel/initrd loader.

Ref: https://bugzilla.tianocore.org/show_bug.cgi?id=2566
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Reviewed-by: Laszlo Ersek <lersek@redhat.com>
OvmfPkg/QemuKernelLoaderFsDxe/QemuKernelLoaderFsDxe.c
OvmfPkg/QemuKernelLoaderFsDxe/QemuKernelLoaderFsDxe.inf