]> git.ipfire.org Git - thirdparty/linux.git/commit
KVM: SVM: Move svm_msrpm_offset() to nested.c
authorSean Christopherson <seanjc@google.com>
Tue, 10 Jun 2025 22:57:30 +0000 (15:57 -0700)
committerSean Christopherson <seanjc@google.com>
Fri, 20 Jun 2025 20:07:33 +0000 (13:07 -0700)
commit5c9c084763637460acaeb3e22508c692a70b6905
treedb2492ff7a3ff5a2939f1490feabaae92bc8c837
parent2f89888434bce68123b3c980bf1f2e04ecee57e1
KVM: SVM: Move svm_msrpm_offset() to nested.c

Move svm_msrpm_offset() from svm.c to nested.c now that all usage of the
u32-index offsets is nested virtualization specific.

No functional change intended.

Link: https://lore.kernel.org/r/20250610225737.156318-26-seanjc@google.com
Signed-off-by: Sean Christopherson <seanjc@google.com>
arch/x86/kvm/svm/nested.c
arch/x86/kvm/svm/svm.c
arch/x86/kvm/svm/svm.h