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

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

 



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





[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux