From: "Laszlo Ersek" <lersek@redhat.com>
To: edk2-devel-groups-io <devel@edk2.groups.io>
Cc: "Ard Biesheuvel" <ard.biesheuvel@arm.com>,
"Jordan Justen" <jordan.l.justen@intel.com>,
"Leif Lindholm" <leif@nuviainc.com>,
"Per Sundstrom" <per_sundstrom@yahoo.com>,
"Philippe Mathieu-Daudé" <philmd@redhat.com>
Subject: Re: [edk2-devel] [PATCH 0/7] OvmfPkg, ArmVirtPkg: control PXE v4/v6 boot support from the QEMU cmdline
Date: Wed, 29 Apr 2020 00:39:30 +0200 [thread overview]
Message-ID: <ac0d21f6-8ee2-cdbb-21f1-a56273a1717b@redhat.com> (raw)
In-Reply-To: <20200424075353.8489-1-lersek@redhat.com>
On 04/24/20 09:53, Laszlo Ersek wrote:
> Ref: https://bugzilla.tianocore.org/show_bug.cgi?id=2681
> Repo: https://pagure.io/lersek/edk2.git
> Branch: pxe_fw_cfg
>
> With this series applied, the QEMU command line options listed below
> control whether the guest firmware supports PXEv4 / PXEv6 boot. And
> correspondingly, whether UefiBootManagerLib generates *new* PXEv4 /
> PXEv6 boot options automatically. (Existent boot options are never
> deleted in response to just the flags below.)
>
> -fw_cfg name=opt/org.tianocore/IPv4PXESupport,string=[yn]
>
> -fw_cfg name=opt/org.tianocore/IPv6PXESupport,string=[yn]
Merged as commit range 64ab457d1f21..cdc3fa54184a, via
<https://github.com/tianocore/edk2/pull/556>.
I thank everyone for the feedback.
Phil, regarding your comment under patch#5: the PCD "get" interfaces do
not have "deprecated" vs. "current" variants. Only the "set" interfaces
do. "Get" is always supposed to succeed. "Set" may fail.
See commit 9a3558419509 ("MdePkg: Add a set of PcdSetXXS APIs into
PcdLib and remove the ASSERT in original PcdSetXX APIs.", 2015-04-10).
See also EFI_PCD_PROTOCOL in the Platform Init spec:
<https://uefi.org/specifications>.
Thanks!
Laszlo
>
> Cc: Ard Biesheuvel <ard.biesheuvel@arm.com>
> Cc: Jordan Justen <jordan.l.justen@intel.com>
> Cc: Leif Lindholm <leif@nuviainc.com>
> Cc: Per Sundstrom <per_sundstrom@yahoo.com>
> Cc: Philippe Mathieu-Daudé <philmd@redhat.com>
>
> Thanks
> Laszlo
>
> Laszlo Ersek (7):
> OvmfPkg: introduce QemuFwCfgSimpleParserLib
> OvmfPkg/PlatformPei: parse "X-PciMmio64Mb" with
> QemuFwCfgSimpleParserLib
> OvmfPkg/PlatformPei: use QemuFwCfgParseBool in
> UPDATE_BOOLEAN_PCD_FROM_...
> OvmfPkg/QemuFwCfgDxeLib: allow UEFI_DRIVER modules
> OvmfPkg: control PXEv4 / PXEv6 boot support from the QEMU command line
> ArmVirtPkg/QemuFwCfgLib: allow UEFI_DRIVER modules
> ArmVirtPkg: control PXEv4 / PXEv6 boot support from the QEMU command
> line
>
> ArmVirtPkg/ArmVirtQemu.dsc | 13 +
> ArmVirtPkg/ArmVirtQemuKernel.dsc | 13 +
> ArmVirtPkg/Library/QemuFwCfgLib/QemuFwCfgLib.inf | 2 +-
> OvmfPkg/Include/Library/QemuFwCfgSimpleParserLib.h | 128 +++++++
> OvmfPkg/Library/PxeBcPcdProducerLib/PxeBcPcd.c | 39 ++
> OvmfPkg/Library/PxeBcPcdProducerLib/PxeBcPcdProducerLib.inf | 33 ++
> OvmfPkg/Library/QemuFwCfgLib/QemuFwCfgDxeLib.inf | 2 +-
> OvmfPkg/Library/QemuFwCfgSimpleParserLib/QemuFwCfgSimpleParser.c | 398 ++++++++++++++++++++
> OvmfPkg/Library/QemuFwCfgSimpleParserLib/QemuFwCfgSimpleParserLib.inf | 27 ++
> OvmfPkg/OvmfPkg.dec | 4 +
> OvmfPkg/OvmfPkgIa32.dsc | 10 +
> OvmfPkg/OvmfPkgIa32X64.dsc | 11 +
> OvmfPkg/OvmfPkgX64.dsc | 10 +
> OvmfPkg/PlatformPei/MemDetect.c | 36 +-
> OvmfPkg/PlatformPei/Platform.c | 47 +--
> OvmfPkg/PlatformPei/PlatformPei.inf | 1 +
> 16 files changed, 712 insertions(+), 62 deletions(-)
> create mode 100644 OvmfPkg/Include/Library/QemuFwCfgSimpleParserLib.h
> create mode 100644 OvmfPkg/Library/PxeBcPcdProducerLib/PxeBcPcd.c
> create mode 100644 OvmfPkg/Library/PxeBcPcdProducerLib/PxeBcPcdProducerLib.inf
> create mode 100644 OvmfPkg/Library/QemuFwCfgSimpleParserLib/QemuFwCfgSimpleParser.c
> create mode 100644 OvmfPkg/Library/QemuFwCfgSimpleParserLib/QemuFwCfgSimpleParserLib.inf
>
next prev parent reply other threads:[~2020-04-28 22:39 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-04-24 7:53 [PATCH 0/7] OvmfPkg, ArmVirtPkg: control PXE v4/v6 boot support from the QEMU cmdline Laszlo Ersek
2020-04-24 7:53 ` [PATCH 1/7] OvmfPkg: introduce QemuFwCfgSimpleParserLib Laszlo Ersek
2020-04-24 9:13 ` Philippe Mathieu-Daudé
2020-04-28 11:47 ` Laszlo Ersek
2020-04-24 7:53 ` [PATCH 2/7] OvmfPkg/PlatformPei: parse "X-PciMmio64Mb" with QemuFwCfgSimpleParserLib Laszlo Ersek
2020-04-24 8:51 ` Philippe Mathieu-Daudé
2020-04-24 7:53 ` [PATCH 3/7] OvmfPkg/PlatformPei: use QemuFwCfgParseBool in UPDATE_BOOLEAN_PCD_FROM_ Laszlo Ersek
2020-04-24 8:55 ` Philippe Mathieu-Daudé
2020-04-28 11:40 ` Laszlo Ersek
2020-04-24 7:53 ` [PATCH 4/7] OvmfPkg/QemuFwCfgDxeLib: allow UEFI_DRIVER modules Laszlo Ersek
2020-04-28 12:48 ` Philippe Mathieu-Daudé
2020-04-24 7:53 ` [PATCH 5/7] OvmfPkg: control PXEv4 / PXEv6 boot support from the QEMU command line Laszlo Ersek
2020-04-28 12:45 ` Philippe Mathieu-Daudé
2020-04-24 7:53 ` [PATCH 6/7] ArmVirtPkg/QemuFwCfgLib: allow UEFI_DRIVER modules Laszlo Ersek
2020-04-28 12:48 ` Philippe Mathieu-Daudé
2020-04-24 7:53 ` [PATCH 7/7] ArmVirtPkg: control PXEv4 / PXEv6 boot support from the QEMU command line Laszlo Ersek
2020-04-28 12:47 ` Philippe Mathieu-Daudé
2020-04-24 9:00 ` [PATCH 0/7] OvmfPkg, ArmVirtPkg: control PXE v4/v6 boot support from the QEMU cmdline Ard Biesheuvel
2020-04-28 22:39 ` Laszlo Ersek [this message]
2020-04-29 7:21 ` [edk2-devel] " Philippe Mathieu-Daudé
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-list from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=ac0d21f6-8ee2-cdbb-21f1-a56273a1717b@redhat.com \
--to=devel@edk2.groups.io \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox