commit | 4658a8d3079137d8d407892bdc95b390a419c261 | [log] [tgz] |
---|---|---|
author | Fuad Tabba <tabba@google.com> | Tue Jun 15 16:04:43 2021 +0100 |
committer | Sasha Levin <sashal@kernel.org> | Wed Jun 30 08:47:22 2021 -0400 |
tree | 8e3256f744edf30c399d8eeba14a0dfd66944633 | |
parent | e83e3c5d85a70f9f6b52ede2aa9ed55b57879656 [diff] |
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>