Branch: refs/heads/master Home: https://github.com/tianocore/edk2 Commit: b909b4ad097080f865cbb7caae4cca101c0fe96c https://github.com/tianocore/edk2/commit/b909b4ad097080f865cbb7caae4cca101c0fe96c Author: Sebastien Boeuf <sebastien.bo...@intel.com> Date: 2022-03-04 (Fri, 04 Mar 2022)
Changed paths: M OvmfPkg/OvmfXenElfHeaderGenerator.c Log Message: ----------- OvmfPkg: Make the Xen ELF header generator more flexible Adding some flexibility to the program through optional parameters and global define, so that other targets can use the generator. * A global define is added so that we can choose at build time if we want to use 32-bit or 64-bit base structures. * A first optional parameter is added so the user can provide the expected blob size of the generated binary. * A second optional parameter is added so the user can specify an output file to which the generated output will be printed. The default behavior isn't modified. Acked-by: Gerd Hoffmann <kra...@redhat.com> Signed-off-by: Sebastien Boeuf <sebastien.bo...@intel.com> Reviewed-by: Jiewen Yao <jiewen....@intel.com> Commit: 0a707eb2587c1b027ad95c17ee3fe65b0c9e450e https://github.com/tianocore/edk2/commit/0a707eb2587c1b027ad95c17ee3fe65b0c9e450e Author: Sebastien Boeuf <sebastien.bo...@intel.com> Date: 2022-03-04 (Fri, 04 Mar 2022) Changed paths: M OvmfPkg/OvmfXen.fdf A OvmfPkg/XenElfHeader.fdf.inc Log Message: ----------- OvmfPkg: Xen: Use a new fdf include for the PVH ELF header Instead of having the PVH ELF header part of the fdf file directly, we move it to a dedicated include file. This is the first step in automating the generation of the header. Acked-by: Gerd Hoffmann <kra...@redhat.com> Signed-off-by: Sebastien Boeuf <sebastien.bo...@intel.com> Reviewed-by: Jiewen Yao <jiewen....@intel.com> Commit: 0015a4e0a80f6eaa0044c13ecff3f312c186050b https://github.com/tianocore/edk2/commit/0015a4e0a80f6eaa0044c13ecff3f312c186050b Author: Sebastien Boeuf <sebastien.bo...@intel.com> Date: 2022-03-04 (Fri, 04 Mar 2022) Changed paths: M OvmfPkg/XenElfHeader.fdf.inc Log Message: ----------- OvmfPkg: Xen: Generate fdf include file from ELF header generator Updating the fdf include file based on the run of the ELF header generator. The diff from this patch is the result of: $ gcc -o elf_gen OvmfPkg/OvmfXenElfHeaderGenerator.c $ ./elf_gen 2097152 OvmfPkg/XenElfHeader.fdf.inc Acked-by: Gerd Hoffmann <kra...@redhat.com> Signed-off-by: Sebastien Boeuf <sebastien.bo...@intel.com> Reviewed-by: Jiewen Yao <jiewen....@intel.com> Commit: 9ac8c85d501f07a8e4f8b85b676cd03b73ec5bd8 https://github.com/tianocore/edk2/commit/9ac8c85d501f07a8e4f8b85b676cd03b73ec5bd8 Author: Sebastien Boeuf <sebastien.bo...@intel.com> Date: 2022-03-04 (Fri, 04 Mar 2022) Changed paths: M OvmfPkg/CloudHv/CloudHvX64.fdf Log Message: ----------- OvmfPkg: CloudHv: Remove VARS and CODE sections CloudHv doesn't need any VARS store, and it doesn't need the CODE section to be generated separately either. The only thing needed is to generate a firmware binary that can be used by Cloud Hypervisor. Signed-off-by: Sebastien Boeuf <sebastien.bo...@intel.com> Acked-by: Gerd Hoffmann <kra...@redhat.com> Reviewed-by: Jiewen Yao <jiewen....@intel.com> Commit: e1c7f9b4e59e2df20650de3de98c2b2bc7879524 https://github.com/tianocore/edk2/commit/e1c7f9b4e59e2df20650de3de98c2b2bc7879524 Author: Sebastien Boeuf <sebastien.bo...@intel.com> Date: 2022-03-04 (Fri, 04 Mar 2022) Changed paths: A OvmfPkg/CloudHv/CloudHvElfHeader.fdf.inc M OvmfPkg/CloudHv/CloudHvX64.dsc M OvmfPkg/CloudHv/CloudHvX64.fdf Log Message: ----------- 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.bo...@intel.com> Acked-by: Gerd Hoffmann <kra...@redhat.com> Reviewed-by: Jiewen Yao <jiewen....@intel.com> Commit: d50d9e55498c7ce8826316631cd4daa9a291f8b3 https://github.com/tianocore/edk2/commit/d50d9e55498c7ce8826316631cd4daa9a291f8b3 Author: Sebastien Boeuf <sebastien.bo...@intel.com> Date: 2022-03-04 (Fri, 04 Mar 2022) Changed paths: M OvmfPkg/AcpiPlatformDxe/AcpiPlatformDxe.inf M OvmfPkg/AcpiPlatformDxe/CloudHvAcpi.c M OvmfPkg/CloudHv/CloudHvX64.fdf M OvmfPkg/Include/IndustryStandard/CloudHv.h Log Message: ----------- OvmfPkg: CloudHv: Retrieve RSDP address from PVH Instead of hardcoding the address of the RSDP in the firmware, let's rely on the PVH structure hvm_start_info to retrieve this information. Acked-by: Gerd Hoffmann <kra...@redhat.com> Signed-off-by: Sebastien Boeuf <sebastien.bo...@intel.com> Reviewed-by: Jiewen Yao <jiewen....@intel.com> Commit: 82bfd2e86d895efd7a9dcb778799bafae7b3ce71 https://github.com/tianocore/edk2/commit/82bfd2e86d895efd7a9dcb778799bafae7b3ce71 Author: Sebastien Boeuf <sebastien.bo...@intel.com> Date: 2022-03-04 (Fri, 04 Mar 2022) Changed paths: M OvmfPkg/PlatformPei/MemDetect.c M OvmfPkg/PlatformPei/PlatformPei.inf Log Message: ----------- OvmfPkg: CloudHv: Rely on PVH memmap instead of CMOS Instead of using the CMOS, the CloudHv platform relies on the list of memmap entries provided through the PVH boot protocol to determine the last RAM address below 4G. Acked-by: Gerd Hoffmann <kra...@redhat.com> Signed-off-by: Sebastien Boeuf <sebastien.bo...@intel.com> Reviewed-by: Jiewen Yao <jiewen....@intel.com> Commit: b83d0a6438f24ba3c6234d9b7593be6f2246ec1e https://github.com/tianocore/edk2/commit/b83d0a6438f24ba3c6234d9b7593be6f2246ec1e Author: Sebastien Boeuf <sebastien.bo...@intel.com> Date: 2022-03-04 (Fri, 04 Mar 2022) Changed paths: A OvmfPkg/CloudHv/README Log Message: ----------- OvmfPkg: CloudHv: Add README Add some documentation to the CloudHv target in order to clarify how to use it and what to expect from it. Signed-off-by: Sebastien Boeuf <sebastien.bo...@intel.com> Acked-by: Gerd Hoffmann <kra...@redhat.com> Reviewed-by: Jiewen Yao <jiewen....@intel.com> Compare: https://github.com/tianocore/edk2/compare/589d51df2604...b83d0a6438f2 _______________________________________________ edk2-commits mailing list edk2-commits@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/edk2-commits