android_kernel_xiaomi_sm7250/tools/testing/selftests/kvm
Fuad Tabba df084ef4de 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:48:32 -04:00
..
include selftests: kvm: Fix the segment descriptor layout to match the actual layout 2020-11-24 13:27:19 +01:00
lib KVM: selftests: Fix kvm_check_cap() assertion 2021-06-30 08:48:32 -04:00
.gitignore
config
cr4_cpuid_sync_test.c
dirty_log_test.c selftests: kvm: Fix -Wformat warnings 2019-12-01 09:16:59 +01:00
Makefile
platform_info_test.c selftests/kvm: make platform_info_test pass on AMD 2019-09-10 10:33:51 +01:00
set_sregs_test.c
state_test.c
sync_regs_test.c
vmx_tsc_adjust_test.c