]> Gentwo Git Trees - linux/.git/commit
KVM: selftests: Move Intel and AMD module param helpers to x86/processor.h
authorSean Christopherson <seanjc@google.com>
Wed, 6 Aug 2025 22:51:59 +0000 (15:51 -0700)
committerSean Christopherson <seanjc@google.com>
Tue, 19 Aug 2025 15:00:29 +0000 (08:00 -0700)
commite2bcf62a2e78f8d7e95485c0347bccfba3c5e459
tree9116ad3d5bee6541c021f44bcd17a64cbe478af7
parenta585b87614511e4272305bb5acf406f19f7dcade
KVM: selftests: Move Intel and AMD module param helpers to x86/processor.h

Move the x86 specific helpers for getting kvm_{amd,intel} module params to
x86 where they belong.  Expose the module-agnostic helpers globally, there
is nothing secret about the logic.

Link: https://lore.kernel.org/r/20250806225159.1687326-1-seanjc@google.com
Signed-off-by: Sean Christopherson <seanjc@google.com>
tools/testing/selftests/kvm/include/kvm_util.h
tools/testing/selftests/kvm/include/x86/processor.h
tools/testing/selftests/kvm/lib/kvm_util.c