On 5/24/2022 3:56 PM, Gerd Hoffmann wrote:
Hi,
+static void tdvf_hob_add_mmio_resources(TdvfHob *hob)
+{
+MachineState *ms = MACHINE(qdev_get_machine());
+X86MachineState *x86ms = X86_MACHINE(ms);
+PCIHostState *pci_host;
+uint64_t start, end;
+uint64_t mcfg_base, mcfg_si
Hi,
> +static void tdvf_hob_add_mmio_resources(TdvfHob *hob)
> +{
> +MachineState *ms = MACHINE(qdev_get_machine());
> +X86MachineState *x86ms = X86_MACHINE(ms);
> +PCIHostState *pci_host;
> +uint64_t start, end;
> +uint64_t mcfg_base, mcfg_size;
> +Object *host;
> +
> +
On Thu, May 12, 2022 at 11:17:50AM +0800,
Xiaoyao Li wrote:
> 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 ma
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
Signed-off-b