]> git.ipfire.org Git - thirdparty/qemu.git/commit
i386/tdx: Setup the TD HOB list
authorXiaoyao Li <xiaoyao.li@intel.com>
Thu, 8 May 2025 14:59:29 +0000 (10:59 -0400)
committerPaolo Bonzini <pbonzini@redhat.com>
Wed, 28 May 2025 17:35:54 +0000 (19:35 +0200)
commita731425980a4d3f8bb96fc41893b6437672875ee
tree92076b5df620db3e0765b132f46c203c52141ed7
parent88aa6576e4ab40b538f543852128cb17fce37f87
i386/tdx: Setup the TD HOB list

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.yamahata@intel.com>
Signed-off-by: Isaku Yamahata <isaku.yamahata@intel.com>
Co-developed-by: Sean Christopherson <sean.j.christopherson@intel.com>
Signed-off-by: Sean Christopherson <sean.j.christopherson@intel.com>
Signed-off-by: Xiaoyao Li <xiaoyao.li@intel.com>
Acked-by: Gerd Hoffmann <kraxel@redhat.com>
Reviewed-by: Zhao Liu <zhao1.liu@intel.com>
Link: https://lore.kernel.org/r/20250508150002.689633-24-xiaoyao.li@intel.com
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
hw/i386/meson.build
hw/i386/tdvf-hob.c [new file with mode: 0644]
hw/i386/tdvf-hob.h [new file with mode: 0644]
target/i386/kvm/tdx.c