KVM: selftests: implement an unchecked version of vcpu_ioctl()
authorVitaly Kuznetsov <vkuznets@redhat.com>
Mon, 10 Dec 2018 17:21:58 +0000 (18:21 +0100)
committerPaolo Bonzini <pbonzini@redhat.com>
Fri, 14 Dec 2018 16:59:55 +0000 (17:59 +0100)
commit7e50c424f8e2315182540a32edb6f19024d26c8b
tree0de87bf501bb8aeef44fff6d92f83588602b9f92
parent2bc39970e9327ceb06cb210f86ba35f81d00e350
KVM: selftests: implement an unchecked version of vcpu_ioctl()

In case we want to test failing ioctls we need an option to not
fail. Following _vcpu_run() precedent implement _vcpu_ioctl().

Signed-off-by: Vitaly Kuznetsov <vkuznets@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
tools/testing/selftests/kvm/include/kvm_util.h
tools/testing/selftests/kvm/lib/kvm_util.c