• A
    KVM: Add VT-x machine check support · a0861c02
    Andi Kleen 提交于
    VT-x needs an explicit MC vector intercept to handle machine checks in the
    hyper visor.
    
    It also has a special option to catch machine checks that happen
    during VT entry.
    
    Do these interceptions and forward them to the Linux machine check
    handler. Make it always look like user space is interrupted because
    the machine check handler treats kernel/user space differently.
    
    Thanks to Jiang Yunhong for help and testing.
    
    Cc: stable@kernel.org
    Signed-off-by: NAndi Kleen <ak@linux.intel.com>
    Signed-off-by: NHuang Ying <ying.huang@intel.com>
    Signed-off-by: NAvi Kivity <avi@redhat.com>
    a0861c02
vmx.c 98.4 KB