]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: selftests: Use kvm_ioctl() helpers
authorSean Christopherson <seanjc@google.com>
Tue, 15 Feb 2022 20:39:12 +0000 (12:39 -0800)
committerPaolo Bonzini <pbonzini@redhat.com>
Sat, 11 Jun 2022 14:20:09 +0000 (10:20 -0400)
commite97b4891b8dbfe95f1fd3ce23ae579d0db59443f
tree83210b9a7d1e7e47300671bffa275abba7f4bedf
parent01a454ec15bf0e86ad0672d9ee62fda7b41158a4
KVM: selftests: Use kvm_ioctl() helpers

Use the recently introduced KVM-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/lib/aarch64/processor.c
tools/testing/selftests/kvm/lib/guest_modes.c
tools/testing/selftests/kvm/lib/kvm_util.c
tools/testing/selftests/kvm/lib/x86_64/processor.c
tools/testing/selftests/kvm/x86_64/get_msr_index_features.c
tools/testing/selftests/kvm/x86_64/mmio_warning_test.c