Skip to content
Commit 4658a8d3 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 e83e3c5d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment