Skip to content
Commit bee7a6e2 authored by Fuad Tabba's avatar Fuad Tabba Committed by Sasha Levin
Browse files

KVM: selftests: Fix kvm_check_cap() assertion

[ Upstream commit d8ac05ea

 ]

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

Signed-off-by: default avatarFuad Tabba <tabba@google.com>
Message-Id: <20210615150443.1183365-1-tabba@google.com>
Signed-off-by: default avatarPaolo Bonzini <pbonzini@redhat.com>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 4af85758
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment