KVM: sefltests: Use vm_ioctl() and __vm_ioctl() helpers
authorSean Christopherson <seanjc@google.com>
Tue, 15 Feb 2022 20:09:56 +0000 (12:09 -0800)
committerPaolo Bonzini <pbonzini@redhat.com>
Sat, 11 Jun 2022 14:19:56 +0000 (10:19 -0400)
commit10825b55b9d5a402294095a3d5fc9d0ea39cc282
tree9324862c97c571d9da192724b70578c6a4fa3931
parent71ab5a6fea49875290e6ca035ff1d3e3ef3813f7
KVM: sefltests: Use vm_ioctl() and __vm_ioctl() helpers

Use the recently introduced VM-specific ioctl() helpers instead of open
coding calls to ioctl() just to pretty print the ioctl name.  Keep a few
open coded assertions that provide additional info.

Signed-off-by: Sean Christopherson <seanjc@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
tools/testing/selftests/kvm/include/kvm_util_base.h
tools/testing/selftests/kvm/kvm_binary_stats_test.c
tools/testing/selftests/kvm/lib/aarch64/vgic.c
tools/testing/selftests/kvm/lib/kvm_util.c
tools/testing/selftests/kvm/set_memory_region_test.c
tools/testing/selftests/kvm/x86_64/pmu_event_filter_test.c