Re: [PATCH 11/12] KVM: SEV: do not take kvm->lock when destroying

From: Sean Christopherson
Date: Mon Nov 29 2021 - 18:08:44 EST


On Mon, Nov 22, 2021, Paolo Bonzini wrote:
> Taking the lock is useless since there are no other references,
> and there are already accesses (e.g. to sev->enc_context_owner)
> that do not take it. So get rid of it.
>
> Signed-off-by: Paolo Bonzini <pbonzini@xxxxxxxxxx>
> ---

Reviewed-by: Sean Christopherson <seanjc@xxxxxxxxxx>