This patch series is based on "[RFC v2 0/4] QEMU changes to do PVH boot" and provides a PVH option rom that can be used with SeaBIOS to boot uncompressed kernel using the x86/HVM direct boot ABI.
Patches 1 and 2 are to prepare the PVH option rom, moving common functions in a new header. Patch 3 adds the new PVH option rom and patch 4 uses it when we are booting an uncompressed kernel using the x86/HVM direct boot ABI. Stefano Garzarella (4): linuxboot_dma: remove duplicate definitions of FW_CFG linuxboot_dma: move common functions in a new header optionrom: add new PVH option rom hw/i386/pc: use PVH option rom hw/i386/pc.c | 4 + pc-bios/optionrom/Makefile | 5 +- pc-bios/optionrom/linuxboot_dma.c | 110 +++------------- pc-bios/optionrom/optrom.h | 109 ++++++++++++++++ pc-bios/optionrom/optrom_fw_cfg.h | 92 ++++++++++++++ pc-bios/optionrom/pvh.S | 200 ++++++++++++++++++++++++++++++ pc-bios/optionrom/pvh_main.c | 117 +++++++++++++++++ 7 files changed, 541 insertions(+), 96 deletions(-) create mode 100644 pc-bios/optionrom/optrom.h create mode 100644 pc-bios/optionrom/optrom_fw_cfg.h create mode 100644 pc-bios/optionrom/pvh.S create mode 100644 pc-bios/optionrom/pvh_main.c -- 2.20.1