Re: [PATCH 1/8] KVM: x86: avoid loading a vCPU after .vm_destroy was called

From: Maxim Levitsky
Date: Thu Apr 28 2022 - 01:47:38 EST


On Wed, 2022-03-30 at 14:07 +0200, Paolo Bonzini wrote:
> On 3/30/22 02:27, Sean Christopherson wrote:
> > Rather than split kvm_free_vcpus(), can we instead move the call to svm_vm_destroy()
> > by adding a second hook, .vm_teardown(), which is needed for TDX? I.e. keep VMX
> > where it is by using vm_teardown, but effectively move SVM?
> >
> > https://lore.kernel.org/all/1fa2d0db387a99352d44247728c5b8ae5f5cab4d.1637799475.git.isaku.yamahata@xxxxxxxxx
>
> I'd rather do that only for the TDX patches.
>
> Paolo
>
Any update on this patch? Looks like it is not upstream nor in kvm/queue.

Best regards,
Maxim Levitsky