]> www.infradead.org Git - users/dwmw2/linux.git/commit
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>
Fri, 13 Jan 2023 15:47:27 +0000 (10:47 -0500)
commit6705b876091e32a94e464526261eaee1e9f2c1c8
treeaee6c4b33cd0b3d00b674e738715e69f50995c7a
parent1f930fb59c728193778aef1b37e82e5a3c386257
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