qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [RFC PATCH v4 20/36] i386/tdx: Register a machine_init_done callback


From: Gerd Hoffmann
Subject: Re: [RFC PATCH v4 20/36] i386/tdx: Register a machine_init_done callback for TD
Date: Tue, 24 May 2022 09:09:32 +0200

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

[Prev in Thread] Current Thread [Next in Thread]