KVM: selftests: x86: Use TAP interface in the vmx_pmu_caps test
authorThomas Huth <thuth@redhat.com>
Thu, 8 Feb 2024 20:48:43 +0000 (21:48 +0100)
committerSean Christopherson <seanjc@google.com>
Wed, 28 Feb 2024 20:58:12 +0000 (20:58 +0000)
commitde1b03f25f3b9e723e7dd8db70639abaa557d527
treefafc9d8ed141f5e66769988e37d98d36030bc0a5
parenta6983e8f5fabb249ad06328bc6452583f25b9c76
KVM: selftests: x86: Use TAP interface in the vmx_pmu_caps test

Use the kvm_test_harness.h interface in this test to get TAP
output, so that it is easier for the user to see what the test
is doing.

Signed-off-by: Thomas Huth <thuth@redhat.com>
Link: https://lore.kernel.org/r/20240208204844.119326-8-thuth@redhat.com
[sean: make host_cap static]
Signed-off-by: Sean Christopherson <seanjc@google.com>
tools/testing/selftests/kvm/x86_64/vmx_pmu_caps_test.c