diff options
| author | Sean Christopherson <[email protected]> | 2022-02-16 20:49:13 +0000 |
|---|---|---|
| committer | Paolo Bonzini <[email protected]> | 2022-06-11 15:47:16 +0000 |
| commit | 5114c3e2f1b90ca5417c42d3eb17fcf5ac4dc724 (patch) | |
| tree | 8b9d4a75297780bf4b7f38926eeae61a7c543ab9 /tools/testing/selftests/kvm/lib/perf_test_util.c | |
| parent | KVM: selftests: Drop vm_create_default* helpers (diff) | |
| download | kernel-5114c3e2f1b90ca5417c42d3eb17fcf5ac4dc724.tar.gz kernel-5114c3e2f1b90ca5417c42d3eb17fcf5ac4dc724.zip | |
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 <[email protected]>
Signed-off-by: Paolo Bonzini <[email protected]>
Diffstat (limited to 'tools/testing/selftests/kvm/lib/perf_test_util.c')
| -rw-r--r-- | tools/testing/selftests/kvm/lib/perf_test_util.c | 2 |
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; |
