This patch series add support for Corrected Machine Check Interrupt (CMCI) signaling and UnCorrectable No Action required (UCNA) error injection to KVM. UCNA errors signaled via CMCI allow a guest to be notified as soon as uncorrectable memory errors get detected by some background threads, e.g., threads that migrate guest memory across hosts. Upon receiving UCNAs, guest kernel isolates the poisoned pages immediately, preventing future accesses that may result in fatal Machine Check Exceptions. Jue Wang (4): KVM: x86: Clean up KVM APIC LVT logic. KVM: x86: Add LVTCMCI support. KVM: x86: Add support for MSR_IA32_MCx_CTL2 MSRs. KVM: x86: Add support for MCG_CMCI_P and handling of injected UCNAs. arch/x86/include/asm/kvm_host.h | 1 + arch/x86/kvm/lapic.c | 56 ++++++++++++++------ arch/x86/kvm/lapic.h | 24 ++++++++- arch/x86/kvm/vmx/vmx.c | 1 + arch/x86/kvm/x86.c | 94 +++++++++++++++++++++++++++++---- 5 files changed, 149 insertions(+), 27 deletions(-) -- 2.35.1.1178.g4f1659d476-goog