On Tue, Apr 01, 2025 at 09:01:33AM -0400, Xiaoyao Li wrote:
> Date: Tue,  1 Apr 2025 09:01:33 -0400
> From: Xiaoyao Li <xiaoyao...@intel.com>
> Subject: [PATCH v8 23/55] i386/tdx: Setup the TD HOB list
> X-Mailer: git-send-email 2.34.1
> 
> The TD HOB list is used to pass the information from VMM to TDVF. The TD
> HOB must include PHIT HOB and Resource Descriptor HOB. More details can
> be found in TDVF specification and PI specification.
> 
> Build the TD HOB in TDX's machine_init_done callback.
> 
> Co-developed-by: Isaku Yamahata <isaku.yamah...@intel.com>
> Signed-off-by: Isaku Yamahata <isaku.yamah...@intel.com>
> Co-developed-by: Sean Christopherson <sean.j.christopher...@intel.com>
> Signed-off-by: Sean Christopherson <sean.j.christopher...@intel.com>
> Signed-off-by: Xiaoyao Li <xiaoyao...@intel.com>
> Acked-by: Gerd Hoffmann <kra...@redhat.com>
> ---
> Changes in v7:
>  - use SPDX tag for license info;
>  - clean up the included headers;
> 
> Changes in v1:
>  - drop the code of adding mmio resources since OVMF prepares all the
>    MMIO hob itself.
> ---
>  hw/i386/meson.build   |   2 +-
>  hw/i386/tdvf-hob.c    | 130 ++++++++++++++++++++++++++++++++++++++++++
>  hw/i386/tdvf-hob.h    |  26 +++++++++
>  target/i386/kvm/tdx.c |  16 ++++++
>  4 files changed, 173 insertions(+), 1 deletion(-)
>  create mode 100644 hw/i386/tdvf-hob.c
>  create mode 100644 hw/i386/tdvf-hob.h

Reviewed-by: Zhao Liu <zhao1....@intel.com>


Reply via email to