KVM: VMX: move msr_ia32_feature_control to vcpu_vmx
authorHaozhong Zhang <haozhong.zhang@intel.com>
Wed, 22 Jun 2016 06:59:54 +0000 (14:59 +0800)
committerPaolo Bonzini <pbonzini@redhat.com>
Thu, 23 Jun 2016 17:17:28 +0000 (19:17 +0200)
commit3b84080b9512bcacad3805f345fb8f092c8d3a7d
tree8297cbad1b3bf00e082c94408ea1bfa1c93a8bba
parent8ff7b956471faadb0f874a49e8603d43cb1e55d5
KVM: VMX: move msr_ia32_feature_control to vcpu_vmx

msr_ia32_feature_control will be used for LMCE and not depend only on
nested anymore, so move it from struct nested_vmx to struct vcpu_vmx.

Signed-off-by: Haozhong Zhang <haozhong.zhang@intel.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/vmx.c