KVM: selftests: Drop @vcpuids param from VM creators
authorSean Christopherson <seanjc@google.com>
Wed, 16 Feb 2022 20:49:13 +0000 (12:49 -0800)
committerPaolo Bonzini <pbonzini@redhat.com>
Sat, 11 Jun 2022 15:47:16 +0000 (11:47 -0400)
commit5114c3e2f1b90ca5417c42d3eb17fcf5ac4dc724
tree8b9d4a75297780bf4b7f38926eeae61a7c543ab9
parent82ba83cbb76aa6480729f98d3fdeeb162a5cea30
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>
tools/testing/selftests/kvm/include/kvm_util_base.h
tools/testing/selftests/kvm/kvm_page_table_test.c
tools/testing/selftests/kvm/lib/kvm_util.c
tools/testing/selftests/kvm/lib/perf_test_util.c