linux-sg2042/tools/testing/selftests/kvm/lib
Paolo Bonzini bcb2b94ae0 KVM: selftests: exit with 0 status code when tests cannot be run
Right now, skipped tests are returning a failure exit code if /dev/kvm does
not exists.  Consistently return a zero status code so that various scripts
over the interwebs do not complain.  Also return a zero status code if
the KVM_CAP_SYNC_REGS capability is not present, and hardcode in the
test the register kinds that are covered (rather than just using whatever
value of KVM_SYNC_X86_VALID_FIELDS is provided by the kernel headers).

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2018-05-11 11:21:12 +02:00
..
assert.c
elf.c kvm: selftests: add sync_regs_test 2018-04-04 19:11:00 +02:00
io.c kvm: selftests: add sync_regs_test 2018-04-04 19:11:00 +02:00
kvm_util.c KVM: selftests: exit with 0 status code when tests cannot be run 2018-05-11 11:21:12 +02:00
kvm_util_internal.h
sparsebit.c kvm: selftests: fix spelling mistake: "divisable" and "divisible" 2018-04-10 17:20:03 +02:00
vmx.c kvm: selftests: add vmx_tsc_adjust_test 2018-04-16 17:50:23 +02:00
x86.c kvm: selftests: add sync_regs_test 2018-04-04 19:11:00 +02:00