KVM: VMX: Move hardware_setup() definition below vmx_x86_ops
authorSean Christopherson <sean.j.christopherson@intel.com>
Sat, 21 Mar 2020 20:25:57 +0000 (13:25 -0700)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 31 Mar 2020 14:48:05 +0000 (10:48 -0400)
commit484014faf89eb0f3585d7323e4aef34a3cd92ac6
treeff41454503612af11355fd8b63ae9e7d2a906d62
parentd008dfdb0e7012ddff5bd6c0d2abd3b8ec6e77f5
KVM: VMX: Move hardware_setup() definition below vmx_x86_ops

Move VMX's hardware_setup() below its vmx_x86_ops definition so that a
future patch can refactor hardware_setup() to modify vmx_x86_ops
directly instead of indirectly modifying the ops via the global
kvm_x86_ops.

No functional change intended.

Signed-off-by: Sean Christopherson <sean.j.christopherson@intel.com>
Message-Id: <20200321202603.19355-4-sean.j.christopherson@intel.com>
Reviewed-by: Vitaly Kuznetsov <vkuznets@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/vmx/vmx.c