• H
    KVM: Add MCE support · 890ca9ae
    Huang Ying 提交于
    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: NHuang Ying <ying.huang@intel.com>
    Signed-off-by: NAvi Kivity <avi@redhat.com>
    890ca9ae
kvm.h 4.6 KB