Previous v0 patch can be found at
http://permalink.gmane.org/gmane.linux.kernel/2104347

Changes in v1:
 * Change macro KVM_MCE_CAP_SUPPORTED to variable kvm_mce_cap_supported.
 * Include LMCE capability in kvm_mce_cap_supported only on Intel CPU,
   i.e. LMCE can be enabled only on Intel CPU.
 * Check if LMCE is enabled in guest MSR_IA32_FEATURE_CONTROL when
   handling guest access to MSR_IA32_MCG_EXT_CTL.

This patch along with the corresponding QEMU patch series (sent via
another email with title "[PATCH v3 0/2] Add QEMU support for Intel
local MCE") enables Intel local MCE feature for guest. This KVM patch
handles guest access to LMCE-related MSR (MSR_IA32_MCG_EXT_CTL and
MSR_IA32_FEATURE_CONTROL).

Haozhong Zhang (1):
  KVM: VMX: enable guest access to LMCE related MSRs

 arch/x86/include/asm/kvm_host.h |  3 +++
 arch/x86/kvm/vmx.c              | 27 +++++++++++++++++++++++++--
 arch/x86/kvm/x86.c              | 12 ++++++------
 3 files changed, 34 insertions(+), 8 deletions(-)

-- 
2.8.3

Reply via email to