]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
KVM: SVM: Extract OS-visible workarounds setup to helper function
authorSean Christopherson <seanjc@google.com>
Thu, 13 Nov 2025 23:14:18 +0000 (15:14 -0800)
committerSean Christopherson <seanjc@google.com>
Tue, 3 Mar 2026 20:23:26 +0000 (12:23 -0800)
commitc65106af8393fe45524b256d7836317a8b3f2c09
tree9ce5115658eaba62562aa05f9537755a7b2cb5e8
parent089af84641b574990da97d4674706a0303abca34
KVM: SVM: Extract OS-visible workarounds setup to helper function

Move the initialization of the global OSVW variables to a helper function
so that svm_enable_virtualization_cpu() isn't polluted with a pile of what
is effectively legacy code.

No functional change intended.

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