]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: sefltests: Use vcpu_ioctl() and __vcpu_ioctl() helpers
authorSean Christopherson <seanjc@google.com>
Tue, 15 Feb 2022 19:05:21 +0000 (11:05 -0800)
committerPaolo Bonzini <pbonzini@redhat.com>
Sat, 11 Jun 2022 14:15:23 +0000 (10:15 -0400)
commit236b7cea1323573ccba4a3dca17899bb6983c561
tree61b940c3ad29930712ed0414a8c54e240c554317
parent017b0d90018b34dc2730340e135989b917cc59a8
KVM: sefltests: Use vcpu_ioctl() and __vcpu_ioctl() helpers

Use the recently introduced vCPU-specific ioctl() helpers instead of
open coding calls to ioctl() just to pretty print the ioctl name.

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/include/x86_64/processor.h
tools/testing/selftests/kvm/kvm_binary_stats_test.c
tools/testing/selftests/kvm/lib/kvm_util.c
tools/testing/selftests/kvm/lib/x86_64/processor.c