linux-uconsole/tools/testing/selftests/kvm/lib
Fuad Tabba 4658a8d307 KVM: selftests: Fix kvm_check_cap() assertion
[ Upstream commit d8ac05ea13 ]

KVM_CHECK_EXTENSION ioctl can return any negative value on error,
and not necessarily -1. Change the assertion to reflect that.

Signed-off-by: Fuad Tabba <tabba@google.com>
Message-Id: <20210615150443.1183365-1-tabba@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2021-06-30 08:47:22 -04:00
..
aarch64 selftests: kvm: Add exception handling to selftests 2020-11-08 06:02:15 -05:00
s390x selftests: kvm: Add exception handling to selftests 2020-11-08 06:02:15 -05:00
x86_64 selftests: kvm: test enforcement of paravirtual cpuid features 2020-11-08 06:02:16 -05:00
assert.c KVM: selftests: Use consistent message for test skipping 2020-03-16 17:59:05 +01:00
elf.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 482 2019-06-19 17:09:52 +02:00
io.c selftests: kvm: Uses TEST_FAIL in tests/utilities 2020-03-16 17:59:11 +01:00
kvm_util.c KVM: selftests: Fix kvm_check_cap() assertion 2021-06-30 08:47:22 -04:00
kvm_util_internal.h selftests: kvm: Add exception handling to selftests 2020-11-08 06:02:15 -05:00
sparsebit.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 482 2019-06-19 17:09:52 +02:00
test_util.c KVM: selftests: Introduce the dirty log perf test 2020-11-08 06:04:08 -05:00