]> 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)
commit2986b5f290587f66101156f700514211e6f9bca6
treef8e4d6f97b3e545f1788c92e57b271bd4706db7a
parent92f5b4fc6a2c4ddb9afa3741fc572f79e5ad6604
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