summaryrefslogtreecommitdiffstats
path: root/arch/x86/kvm/x86.c
diff options
context:
space:
mode:
authorSean Christopherson <seanjc@google.com>2022-06-07 23:23:53 +0000
committerSean Christopherson <seanjc@google.com>2022-11-30 16:29:54 -0800
commitb80732fdc9b235046687a2999ed198fa55fde901 (patch)
treef548e416b7b34a2fd8ae61809e020d6546436c48 /arch/x86/kvm/x86.c
parent2d6cd68636d60822219074b7c1d0bfe41321f106 (diff)
downloadlinux-b80732fdc9b235046687a2999ed198fa55fde901.tar.bz2
KVM: selftests: Verify userspace can stuff IA32_FEATURE_CONTROL at will
Verify the KVM allows userspace to set all supported bits in the IA32_FEATURE_CONTROL MSR irrespective of the current guest CPUID, and that all unsupported bits are rejected. Throw the testcase into vmx_msrs_test even though it's not technically a VMX MSR; it's close enough, and the most frequently feature controlled by the MSR is VMX. Signed-off-by: Sean Christopherson <seanjc@google.com> Link: https://lore.kernel.org/r/20220607232353.3375324-4-seanjc@google.com
Diffstat (limited to 'arch/x86/kvm/x86.c')
0 files changed, 0 insertions, 0 deletions