On Thu, May 12, 2022 at 11:17:47AM +0800, Xiaoyao Li wrote:
> Before a TD can run, it needs to
>  - setup/configure TD HOB list;
>  - initialize TDVF into TD's private memory;
>  - initialize TD vcpu state;
> 
> Register a machine_init_done callback to all those stuff.

> +static void tdx_finalize_vm(Notifier *notifier, void *unused)
> +{
> +    /* TODO */
> +}

I'd suggest to squash this into the patch actually implementing
tdx_finalize_vm.

take care,
  Gerd


Reply via email to