]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: Add MCE support
authorHuang Ying <ying.huang@intel.com>
Mon, 11 May 2009 08:48:15 +0000 (16:48 +0800)
committerAvi Kivity <avi@redhat.com>
Thu, 10 Sep 2009 05:32:39 +0000 (08:32 +0300)
commit5624ec74455fa443a0f3dbf4e4ee2f5f52818fed
tree1a66ca576b6b0c396de79214e2262dc218ec5d56
parent7aaece7cc9100d4dab83d4318d0a2a29b4148998
KVM: Add MCE support

The related MSRs are emulated. MCE capability is exported via
extension KVM_CAP_MCE and ioctl KVM_X86_GET_MCE_CAP_SUPPORTED.  A new
vcpu ioctl command KVM_X86_SETUP_MCE is used to setup MCE emulation
such as the mcg_cap. MCE is injected via vcpu ioctl command
KVM_X86_SET_MCE. Extended machine-check state (MCG_EXT_P) and CMCI are
not implemented.

Signed-off-by: Huang Ying <ying.huang@intel.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
arch/x86/include/asm/kvm.h
arch/x86/include/asm/kvm_host.h
arch/x86/kvm/x86.c
include/linux/kvm.h