]> git.proxmox.com Git - mirror_edk2.git/commitdiff
OvmfPkg/X86QemuLoadImageLib: State fw_cfg dependency in file header
authorDov Murik <dovmurik@linux.ibm.com>
Mon, 28 Jun 2021 10:51:10 +0000 (10:51 +0000)
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Tue, 29 Jun 2021 12:33:17 +0000 (12:33 +0000)
Make it clear that X86QemuLoadImageLib relies on fw_cfg; prepare the
ground to add a warning about the incompatibility with boot verification
process.

Cc: Laszlo Ersek <lersek@redhat.com>
Cc: Ard Biesheuvel <ardb+tianocore@kernel.org>
Cc: Jordan Justen <jordan.l.justen@intel.com>
Cc: James Bottomley <jejb@linux.ibm.com>
Cc: Tobin Feldman-Fitzthum <tobin@linux.ibm.com>
Ref: https://bugzilla.tianocore.org/show_bug.cgi?id=3457
Signed-off-by: Dov Murik <dovmurik@linux.ibm.com>
Reviewed-by: Laszlo Ersek <lersek@redhat.com>
Message-Id: <20210628105110.379951-6-dovmurik@linux.ibm.com>

OvmfPkg/Library/X86QemuLoadImageLib/X86QemuLoadImageLib.c
OvmfPkg/Library/X86QemuLoadImageLib/X86QemuLoadImageLib.inf

index 6b1e7e64901474f6e0385b75860eef7a7aaa9d33..9f30df29736d53d7810b829ad42306e0ac8019fa 100644 (file)
@@ -2,6 +2,9 @@
   X86 specific implementation of QemuLoadImageLib library class interface\r
   with support for loading mixed mode images and non-EFI stub images\r
 \r
+  Note that this implementation reads the cmdline (and possibly kernel, setup\r
+  data, and initrd in the legacy boot mode) from fw_cfg directly.\r
+\r
   Copyright (c) 2006 - 2015, Intel Corporation. All rights reserved.<BR>\r
   Copyright (c) 2020, ARM Ltd. All rights reserved.<BR>\r
 \r
index e1615badd2ba7c33dfe61ba165303d4d02e3bd5a..c7ec041cb706b9be5c56c05c2ead48c048bdcf88 100644 (file)
@@ -2,6 +2,9 @@
 #  X86 specific implementation of QemuLoadImageLib library class interface\r
 #  with support for loading mixed mode images and non-EFI stub images\r
 #\r
+#  Note that this implementation reads the cmdline (and possibly kernel, setup\r
+#  data, and initrd in the legacy boot mode) from fw_cfg directly.\r
+#\r
 #  Copyright (c) 2020, ARM Ltd. All rights reserved.<BR>\r
 #\r
 #  SPDX-License-Identifier: BSD-2-Clause-Patent\r