kvm: x86: vmx: reorder some msr writing
authorTiejun Chen <tiejun.chen@intel.com>
Tue, 23 Dec 2014 08:21:11 +0000 (16:21 +0800)
committerPaolo Bonzini <pbonzini@redhat.com>
Sat, 27 Dec 2014 20:52:10 +0000 (21:52 +0100)
The commit 34a1cd60d17f, "x86: vmx: move some vmx setting from
vmx_init() to hardware_setup()", tried to refactor some codes
specific to vmx hardware setting into hardware_setup(), but some
msr writing should depend on our previous setting condition like
enable_apicv, enable_ept and so on.

Reported-by: Jamie Heilman <jamie@audible.transient.net>
Tested-by: Jamie Heilman <jamie@audible.transient.net>
Signed-off-by: Tiejun Chen <tiejun.chen@intel.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/vmx.c

Simple merge