aboutsummaryrefslogtreecommitdiffstats
path: root/rust/helpers
diff options
context:
space:
mode:
authorMaxim Levitsky <[email protected]>2025-05-12 18:04:05 +0000
committerPaolo Bonzini <[email protected]>2025-05-27 16:16:41 +0000
commitc560bc9286e66713819c2f30b9ff32ee79d7f75e (patch)
treef5698b9faf5237fc6550fbeb4aaaac81faa48402 /rust/helpers
parentKVM: add kvm_lock_all_vcpus and kvm_trylock_all_vcpus (diff)
downloadkernel-c560bc9286e66713819c2f30b9ff32ee79d7f75e.tar.gz
kernel-c560bc9286e66713819c2f30b9ff32ee79d7f75e.zip
x86: KVM: SVM: use kvm_lock_all_vcpus instead of a custom implementation
Use kvm_lock_all_vcpus instead of sev's own implementation. Because kvm_lock_all_vcpus uses the _nest_lock feature of lockdep, which ignores subclasses, there is no longer a need to use separate subclasses for source and target VMs. No functional change intended. Suggested-by: Paolo Bonzini <[email protected]> Signed-off-by: Maxim Levitsky <[email protected]> Acked-by: Peter Zijlstra (Intel) <[email protected]> Message-ID: <[email protected]> Signed-off-by: Paolo Bonzini <[email protected]>
Diffstat (limited to 'rust/helpers')
0 files changed, 0 insertions, 0 deletions