V3: Amended the HTTP driver patch per Siyuan Fu's suggestion.
    Also reworded that patch to explain the problem more clearly.

V2: Updated my git config to generate the reviewer-friendly diff.

This patch series fixes a http request bug in HttpDxe and adds the
HttpBoot support to OvmfPkg.

I've tested the HttpBoot implementation with a simple environment:

    [QEMU] <---(tap0)---> [HOST]
     Ovmf               DHCP server
                        HTTP server

With a proper config for the dhcp and http server in the host, the firmware
successfully fetched the remote EFI file and executed it. It's recommended
to update gnu-efi to the latest version to detect the IPv4 device path
correctly.

Known issues:
* DHCPv6 support is not implemented in HttpBootDxe at this moment.
* The unexpected TCP disconnection isn't handled in HttpDxe so the GET request
  may fail while fetching the EFI image from some featureless http daemon such
  as thttpd.

Gary Ching-Pang Lin (2):
  NetworkPkg: Remove the hostname from the http request URL
  OvmfPkg: Add HttpBoot support

 NetworkPkg/HttpDxe/HttpImpl.c | 19 ++++++++++++++++++-
 OvmfPkg/OvmfPkgIa32.dsc       | 10 ++++++++++
 OvmfPkg/OvmfPkgIa32.fdf       |  5 +++++
 OvmfPkg/OvmfPkgIa32X64.dsc    | 10 ++++++++++
 OvmfPkg/OvmfPkgIa32X64.fdf    |  5 +++++
 OvmfPkg/OvmfPkgX64.dsc        | 10 ++++++++++
 OvmfPkg/OvmfPkgX64.fdf        |  5 +++++
 7 files changed, 63 insertions(+), 1 deletion(-)

-- 
2.1.4

_______________________________________________
edk2-devel mailing list
edk2-devel@lists.01.org
https://lists.01.org/mailman/listinfo/edk2-devel

Reply via email to