]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: selftests: Drop redundant vcpu_set_cpuid() from PMU selftest
authorSean Christopherson <seanjc@google.com>
Tue, 14 Jun 2022 20:06:33 +0000 (20:06 +0000)
committerSean Christopherson <seanjc@google.com>
Thu, 14 Jul 2022 01:14:11 +0000 (18:14 -0700)
commitb9fe058c39903ef7304c62f0c5ad9d86e0498478
tree290032bcd7dadc4d814f45665a6bb08db0cb7d16
parentccb34671acbf8433b43dbaaf5e105ba2f85dedcb
KVM: selftests: Drop redundant vcpu_set_cpuid() from PMU selftest

Drop a redundant vcpu_set_cpuid() from the PMU test.  The vCPU's CPUID is
set to KVM's supported CPUID by vm_create_with_one_vcpu(), which was also
true back when the helper was named vm_create_default().

Signed-off-by: Sean Christopherson <seanjc@google.com>
Link: https://lore.kernel.org/r/20220614200707.3315957-9-seanjc@google.com
tools/testing/selftests/kvm/x86_64/vmx_pmu_caps_test.c