KVM: selftests: Drop @test param from kvm_create_device()
authorSean Christopherson <seanjc@google.com>
Thu, 17 Feb 2022 20:09:28 +0000 (12:09 -0800)
committerPaolo Bonzini <pbonzini@redhat.com>
Sat, 11 Jun 2022 15:46:20 +0000 (11:46 -0400)
commitf3165dc02212e8eaf5cb675f105aac89c6de431c
treef6b4ef6e9da0e7b3da4bed2f358f986a13764a6d
parenta78593fd8717349852fa9a3f7292516edc5b50ea
KVM: selftests: Drop @test param from kvm_create_device()

Remove the two calls that pass @test=true to kvm_create_device() and drop
the @test param entirely.  The two removed calls don't check the return
value of kvm_create_device(), so other than verifying KVM doesn't explode,
which is extremely unlikely given that the non-test variant was _just_
called, they are pointless and provide no validation coverage.

Signed-off-by: Sean Christopherson <seanjc@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
tools/testing/selftests/kvm/aarch64/vgic_init.c
tools/testing/selftests/kvm/include/kvm_util_base.h
tools/testing/selftests/kvm/lib/kvm_util.c