commit | 10a37929efeb4c51a0069afdd537c4fa3831f6e5 | [log] [tgz] |
---|---|---|
author | Paolo Bonzini <pbonzini@redhat.com> | Mon Nov 22 19:50:35 2021 -0500 |
committer | Paolo Bonzini <pbonzini@redhat.com> | Tue Nov 30 03:54:14 2021 -0500 |
tree | ef056b1ae7077a9352a201a3cf5f22bfdd9ea6ce | |
parent | 17d44a96f000fe1040d4ba1c34e458c63be6b7ce [diff] |
KVM: SEV: do not take kvm->lock when destroying 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. Reviewed-by: Sean Christopherson <seanjc@google.com> Message-Id: <20211123005036.2954379-12-pbonzini@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>