]> git.itanic.dy.fi Git - linux-stable/commit
KVM: selftests: Convert hyperv_features test to using KVM_X86_CPU_FEATURE()
authorVitaly Kuznetsov <vkuznets@redhat.com>
Thu, 13 Oct 2022 09:58:47 +0000 (11:58 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Thu, 29 Dec 2022 20:33:31 +0000 (15:33 -0500)
commit2f10428ace91d07a8c7bd6f127d66eaa9e3a1a9f
tree6196efc92c6ea98848ed2078749f08ebd895ad80
parent67b16f180541d5d1869a07afb844a244f9b6db0f
KVM: selftests: Convert hyperv_features test to using KVM_X86_CPU_FEATURE()

hyperv_features test needs to set certain CPUID bits in Hyper-V feature
leaves but instead of open coding this, common KVM_X86_CPU_FEATURE()
infrastructure can be used.

Signed-off-by: Vitaly Kuznetsov <vkuznets@redhat.com>
Reviewed-by: Sean Christopherson <seanjc@google.com>
Message-Id: <20221013095849.705943-6-vkuznets@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
tools/testing/selftests/kvm/include/x86_64/hyperv.h
tools/testing/selftests/kvm/x86_64/hyperv_features.c