]> www.infradead.org Git - users/jedix/linux-maple.git/commit
KVM: x86: Introduce kvm_set_mp_state()
authorJim Mattson <jmattson@google.com>
Mon, 13 Jan 2025 20:01:43 +0000 (12:01 -0800)
committerSean Christopherson <seanjc@google.com>
Wed, 12 Feb 2025 18:16:27 +0000 (10:16 -0800)
commitc9e5f3fa903961131a832c2593022bc6a5229cf5
tree8dd12cb2639c6c88818170f63dc8682fece4b24d
parent82c470121c7ba970ad866a08a78eae067b523993
KVM: x86: Introduce kvm_set_mp_state()

Replace all open-coded assignments to vcpu->arch.mp_state with calls
to a new helper, kvm_set_mp_state(), to centralize all changes to
mp_state.

No functional change intended.

Signed-off-by: Jim Mattson <jmattson@google.com>
Link: https://lore.kernel.org/r/20250113200150.487409-2-jmattson@google.com
Signed-off-by: Sean Christopherson <seanjc@google.com>
arch/x86/kvm/lapic.c
arch/x86/kvm/svm/nested.c
arch/x86/kvm/svm/sev.c
arch/x86/kvm/vmx/nested.c
arch/x86/kvm/x86.c
arch/x86/kvm/x86.h
arch/x86/kvm/xen.c