commit | d8ac05ea13d789d5491a5920d70a05659015441d | [log] [tgz] |
---|---|---|
author | Fuad Tabba <tabba@google.com> | Tue Jun 15 16:04:43 2021 +0100 |
committer | Paolo Bonzini <pbonzini@redhat.com> | Thu Jun 17 13:06:57 2021 -0400 |
tree | 4d39c70d56270a4740643ec80f020ac5924a50a1 | |
parent | 654430efde27248be563df9a88631204b5fe2df2 [diff] |
KVM: selftests: Fix kvm_check_cap() assertion 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>