]> git.proxmox.com Git - mirror_edk2.git/commit
OvmfPkg: Generate CloudHv as a PVH ELF binary
authorSebastien Boeuf <sebastien.boeuf@intel.com>
Wed, 2 Mar 2022 13:31:34 +0000 (21:31 +0800)
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Fri, 4 Mar 2022 02:41:57 +0000 (02:41 +0000)
commite1c7f9b4e59e2df20650de3de98c2b2bc7879524
treeb3e7e47dac6c40a8b41ba974b34c3074a1cb216d
parent9ac8c85d501f07a8e4f8b85b676cd03b73ec5bd8
OvmfPkg: Generate CloudHv as a PVH ELF binary

Following the model from the Xen target, CloudHv is generated as a PVH
ELF binary to take advantage of the PVH specification, which requires
less emulation from the VMM.

The fdf include file CloudHvElfHeader.fdf.inc has been generated from
the following commands:

$ gcc -D PVH64 -o elf_gen OvmfPkg/OvmfXenElfHeaderGenerator.c
$ ./elf_gen 4194304 OvmfPkg/CloudHv/CloudHvElfHeader.fdf.inc

Signed-off-by: Sebastien Boeuf <sebastien.boeuf@intel.com>
Acked-by: Gerd Hoffmann <kraxel@redhat.com>
Reviewed-by: Jiewen Yao <jiewen.yao@intel.com>
OvmfPkg/CloudHv/CloudHvElfHeader.fdf.inc [new file with mode: 0644]
OvmfPkg/CloudHv/CloudHvX64.dsc
OvmfPkg/CloudHv/CloudHvX64.fdf