kvm: x86: vmx: move some vmx setting from vmx_init() to hardware_setup()
authorTiejun Chen <tiejun.chen@intel.com>
Tue, 28 Oct 2014 02:14:48 +0000 (10:14 +0800)
committerPaolo Bonzini <pbonzini@redhat.com>
Fri, 7 Nov 2014 14:43:59 +0000 (15:43 +0100)
commit34a1cd60d17f62c1f077c1478a6c2ca8c3d17af4
treef8e4d6f97b3e545f1788c92e57b271bd4706db7a
parentf2c7648d91205f4200d3b5c76a8c18d426714d9e
kvm: x86: vmx: move some vmx setting from vmx_init() to hardware_setup()

Instead of vmx_init(), actually it would make reasonable sense to do
anything specific to vmx hardware setting in vmx_x86_ops->hardware_setup().

Signed-off-by: Tiejun Chen <tiejun.chen@intel.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/vmx.c