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: Xiaoyao Li
Subject: Re: [RFC PATCH v4 20/36] i386/tdx: Register a machine_init_done callback for TD
Date: Thu, 26 May 2022 10:52:27 +0800
User-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Firefox/91.0 Thunderbird/91.9.0

On 5/24/2022 3:09 PM, Gerd Hoffmann wrote:
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.

OK. I'll squash it into the next patch.

take care,
   Gerd





reply via email to

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