KVM: VMX: Shuffle support checks and hardware enabling code around
authorSean Christopherson <seanjc@google.com>
Wed, 30 Nov 2022 23:09:21 +0000 (23:09 +0000)
committerPaolo Bonzini <pbonzini@redhat.com>
Thu, 29 Dec 2022 20:47:42 +0000 (15:47 -0500)
commit8504ef2139e2164aced4335c23ef3f919db55281
tree3f84b37b175368b3b3128c5fed2150dbaa7cbdd3
parentd41931324975741e570b8deb7ea58feeabf39343
KVM: VMX: Shuffle support checks and hardware enabling code around

Reorder code in vmx.c so that the VMX support check helpers reside above
the hardware enabling helpers, which will allow KVM to perform support
checks during hardware enabling (in a future patch).

No functional change intended.

Signed-off-by: Sean Christopherson <seanjc@google.com>
Message-Id: <20221130230934.1014142-38-seanjc@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/vmx/vmx.c