• Andi Kleen's avatar
    KVM: Add VT-x machine check support · a0861c02
    Andi Kleen authored
    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: default avatarAndi Kleen <ak@linux.intel.com>
    Signed-off-by: default avatarHuang Ying <ying.huang@intel.com>
    Signed-off-by: default avatarAvi Kivity <avi@redhat.com>
    a0861c02
mce_64.c 27.2 KB