]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit63ddfbc41301db952175d151936db42f22e941e6
tree8b9d4a75297780bf4b7f38926eeae61a7c543ab9
parente944b0e2cf8445278715466ac9039739e3a46d6f
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