]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitfda4cdb79e89a575bbd0b1a07094b52b294516c8
treef6b4ef6e9da0e7b3da4bed2f358f986a13764a6d
parent7d9ebf402f68c1b9e0e7857d5c3a8baf1879dcaa
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