summaryrefslogtreecommitdiff
path: root/tools/testing/selftests/kvm/lib/perf_test_util.c
diff options
context:
space:
mode:
authorSean Christopherson <seanjc@google.com>2022-02-16 23:49:13 +0300
committerPaolo Bonzini <pbonzini@redhat.com>2022-06-11 18:47:16 +0300
commit5114c3e2f1b90ca5417c42d3eb17fcf5ac4dc724 (patch)
tree8b9d4a75297780bf4b7f38926eeae61a7c543ab9 /tools/testing/selftests/kvm/lib/perf_test_util.c
parent82ba83cbb76aa6480729f98d3fdeeb162a5cea30 (diff)
downloadlinux-5114c3e2f1b90ca5417c42d3eb17fcf5ac4dc724.tar.xz
KVM: selftests: Drop @vcpuids param from VM creators
Drop the @vcpuids parameter from VM creators now that there are no users. Allowing tests to specify IDs was a gigantic mistake as it resulted in tests with arbitrary and ultimately meaningless IDs that differed only because the author used test X intead of test Y as the source for copy+paste (the de facto standard way to create a KVM selftest). Except for literally two tests, x86's set_boot_cpu_id and s390's resets, tests do not and should not care about the vCPU ID. Signed-off-by: Sean Christopherson <seanjc@google.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'tools/testing/selftests/kvm/lib/perf_test_util.c')
-rw-r--r--tools/testing/selftests/kvm/lib/perf_test_util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/testing/selftests/kvm/lib/perf_test_util.c b/tools/testing/selftests/kvm/lib/perf_test_util.c
index d3ff05f00653..05f65c9292eb 100644
--- a/tools/testing/selftests/kvm/lib/perf_test_util.c
+++ b/tools/testing/selftests/kvm/lib/perf_test_util.c
@@ -149,7 +149,7 @@ struct kvm_vm *perf_test_create_vm(enum vm_guest_mode mode, int vcpus,
*/
vm = __vm_create_with_vcpus(mode, vcpus, DEFAULT_GUEST_PHY_PAGES,
slot0_pages + guest_num_pages, 0,
- perf_test_guest_code, NULL, NULL);
+ perf_test_guest_code, NULL);
pta->vm = vm;