Commit 10a3792
committed
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>1 parent 17d44a9 commit 10a3792
1 file changed
Lines changed: 0 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2048 | 2048 | | |
2049 | 2049 | | |
2050 | 2050 | | |
2051 | | - | |
2052 | | - | |
2053 | 2051 | | |
2054 | 2052 | | |
2055 | 2053 | | |
| |||
2069 | 2067 | | |
2070 | 2068 | | |
2071 | 2069 | | |
2072 | | - | |
2073 | | - | |
2074 | 2070 | | |
2075 | 2071 | | |
2076 | 2072 | | |
| |||
0 commit comments