Skip to content

bootp: add support for UEFI HTTP boot

Current bootp implementation is only one step away from supporting UEFI HTTP boot in QEMU. The only missing bit is that the UEFI specification 1 requires a vendor class identifier option (num 60) set to "HTTPClient" string present in the DHCP response.

OVMF 2 indeed ignores the DHCP response and considers UEFI HTTP boot as failed, if this option is not present.

With this change one would be able to configure QEMU user networking like below:

$ qemu ... -nic user,tftp=tftp-root,bootfile=http://10.0.2.2/ipxe.efi

and boot the VM using UEFI HTTP boot instead of TFTP.

Signed-off-by: Ignat Korchagin ignat@cloudflare.com

Merge request reports