]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitd47f8d87496ccd21f03aa93b3d375372f0d9fe6a
tree9324862c97c571d9da192724b70578c6a4fa3931
parent9577609094ce55051b6e5a09a383f229f96d20a2
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