]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit6d31b7b0e6f7ce3c6cc59c42ffbc06437ed8fe5c
treef8e4d6f97b3e545f1788c92e57b271bd4706db7a
parent90ca36a34ba78df5678898aaa12b038126063686
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