KVM: nVMX: Move EVMCS1_SUPPORT_* macros to hyperv.c
authorSean Christopherson <seanjc@google.com>
Sat, 11 Feb 2023 00:35:32 +0000 (00:35 +0000)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 14 Mar 2023 14:28:57 +0000 (10:28 -0400)
commit68ac4221497b9a54f32c452a774ae747da908a81
tree72cc87ee033cc00135925b2b70411ca40cd47ba2
parent9a967700496feac1f006ffd97ffe2d82b6aac5ac
KVM: nVMX: Move EVMCS1_SUPPORT_* macros to hyperv.c

Move the macros that define the set of VMCS controls that are supported
by eVMCS1 from hyperv.h to hyperv.c, i.e. make them "private".   The
macros should never be consumed directly by KVM at-large since the "final"
set of supported controls depends on guest CPUID.

No functional change intended.

Reviewed-by: Vitaly Kuznetsov <vkuznets@redhat.com>
Signed-off-by: Sean Christopherson <seanjc@google.com>
Message-Id: <20230211003534.564198-2-seanjc@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/vmx/hyperv.c
arch/x86/kvm/vmx/hyperv.h