]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
KVM: SEV: Lock all vCPUs for the duration of SEV-ES VMSA synchronization
authorSean Christopherson <seanjc@google.com>
Tue, 10 Mar 2026 23:48:14 +0000 (16:48 -0700)
committerSean Christopherson <seanjc@google.com>
Wed, 8 Apr 2026 23:04:23 +0000 (16:04 -0700)
commit8075360f3b9648abe58bcedcb7a27d83d9bf210d
treeb668c70f81277648cc07cd03fd32eea4c3656efd
parentcb923ee6a80f4e604e6242a4702b59251e61a380
KVM: SEV: Lock all vCPUs for the duration of SEV-ES VMSA synchronization

Lock and unlock all vCPUs in a single batch when synchronizing SEV-ES VMSAs
during launch finish, partly to dedup the code by a tiny amount, but mostly
so that sev_launch_update_vmsa() uses the same logic/flow as all other SEV
ioctls that lock all vCPUs.

Link: https://patch.msgid.link/20260310234829.2608037-7-seanjc@google.com
Signed-off-by: Sean Christopherson <seanjc@google.com>
arch/x86/kvm/svm/sev.c