diff options
author | Wanpeng Li <wanpengli@tencent.com> | 2022-01-04 22:41:03 -0800 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2022-01-07 12:01:55 -0500 |
commit | 597cb7968cb6243e915ba9599195656be14773e5 (patch) | |
tree | 4b67084824a0375c75e20472bbc204e9c0c37f41 /ipc | |
parent | fdba608f15e2427419997b0898750a49a735afcb (diff) | |
download | linux-597cb7968cb6243e915ba9599195656be14773e5.tar.bz2 |
KVM: SEV: Mark nested locking of kvm->lock
Both source and dest vms' kvm->locks are held in sev_lock_two_vms.
Mark one with a different subtype to avoid false positives from lockdep.
Fixes: c9d61dcb0bc26 (KVM: SEV: accept signals in sev_lock_two_vms)
Reported-by: Yiru Xu <xyru1999@gmail.com>
Tested-by: Jinrong Liang <cloudliang@tencent.com>
Signed-off-by: Wanpeng Li <wanpengli@tencent.com>
Message-Id: <1641364863-26331-1-git-send-email-wanpengli@tencent.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'ipc')
0 files changed, 0 insertions, 0 deletions