diff options
author | Sean Christopherson <seanjc@google.com> | 2022-02-16 00:21:19 +0300 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2022-06-11 18:46:19 +0300 |
commit | b530eba14c7001882ab517c8408878ef2de97863 (patch) | |
tree | f9b45af9d1be0115c3e3bcdde195a7524dcd2323 /tools/testing/selftests/kvm/x86_64/max_vcpuid_cap_test.c | |
parent | b938cafdde4e2dac94154bd2a345f2baa68919dc (diff) | |
download | linux-b530eba14c7001882ab517c8408878ef2de97863.tar.xz |
KVM: selftests: Get rid of kvm_util_internal.h
Fold kvm_util_internal.h into kvm_util_base.h, i.e. make all KVM utility
stuff "public". Hiding struct implementations from tests has been a
massive failure, as it has led to pointless and poorly named wrappers,
unnecessarily opaque code, etc...
Not to mention that the approach was a complete failure as evidenced by
the non-zero number of tests that were including kvm_util_internal.h.
Signed-off-by: Sean Christopherson <seanjc@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'tools/testing/selftests/kvm/x86_64/max_vcpuid_cap_test.c')
-rw-r--r-- | tools/testing/selftests/kvm/x86_64/max_vcpuid_cap_test.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/tools/testing/selftests/kvm/x86_64/max_vcpuid_cap_test.c b/tools/testing/selftests/kvm/x86_64/max_vcpuid_cap_test.c index e83afd4bb4cf..419fbdc51246 100644 --- a/tools/testing/selftests/kvm/x86_64/max_vcpuid_cap_test.c +++ b/tools/testing/selftests/kvm/x86_64/max_vcpuid_cap_test.c @@ -8,7 +8,6 @@ */ #include "kvm_util.h" -#include "../lib/kvm_util_internal.h" #define MAX_VCPU_ID 2 |