linux-brain/tools/testing/selftests/kvm/lib
Fuad Tabba b7168ec176 KVM: selftests: Fix kvm_check_cap() assertion
[ Upstream commit d8ac05ea13d789d5491a5920d70a05659015441d ]

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:49 -04:00
..
aarch64 KVM: selftests: Introduce VM_MODE_PXXV48_4K 2019-09-24 13:37:22 +02:00
s390x KVM: selftests: Implement ucall() for s390x 2019-08-02 15:44:23 +02:00
x86_64 selftests: kvm: Fix the segment descriptor layout to match the actual layout 2020-11-24 13:29:00 +01:00
assert.c selftests: kvm: fix build with glibc >= 2.30 2019-11-13 15:48:00 +01:00
elf.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 482 2019-06-19 17:09:52 +02:00
io.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 482 2019-06-19 17:09:52 +02:00
kvm_util.c KVM: selftests: Fix kvm_check_cap() assertion 2021-06-30 08:47:49 -04:00
kvm_util_internal.h selftests: kvm: add test for dirty logging inside nested guests 2019-09-27 13:13:40 +02:00
sparsebit.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 482 2019-06-19 17:09:52 +02:00