Hi , I test mce test on kvm, according to the link : https://kernel.googlesource.com/pub/scm/utils/cpu/mce/mce-test/+/61252a69e3c16bf26adeeb6754c3714016228a18/kvm/README Kernel version:3.18.0-rc3 Qemu version: 1.1.0 + p2v.patch Mce-test source: https://kernel.googlesource.com/pub/scm/utils/cpu/mce/mce-test/ Mce-inject source: https://kernel.googlesource.com/pub/scm/utils/cpu/mce/mce-inject/ [root@vt-hsw2 host]# sh host_run.sh -i /root/cathy/test/ia32e_rhel6u5.img -f /root/cathy/mce-inject/test/corrected ... ... /root/cathy/qemu/x86_64-softmmu/qemu-system-x86_64 -enable-kvm -hda /root/cathy/test/rhel6u5-mce.qcow -m 512 -net nic,model=rtl8139 -net user,hostfwd=tcp::5555-:22 -monitor pty -serial pty -pidfile /root/cathy/mce-test/cases/function/kvm/host/pid_file ssh -i /root/cathy/mce-test/cases/function/kvm/host/id_rsa localhost -p 5555 /root/mce-test-guest/guest_run.sh scp -o StrictHostKeyChecking=no -i /root/cathy/mce-test/cases/function/kvm/host/id_rsa -P 5555 localhost:/root/mce-test-guest/guest_tmp /root/cathy/mce-test/cases/function/kvm/host/guest_tmp awk '{print $NF}' /root/cathy/mce-test/cases/function/kvm/host/guest_tmp GUEST_PHY=0x16158000 echo 'Guest physical address is 0x16158000' Guest physical address is 0x16158000 echo x-gpa2hva 0x16158000 > monitor_console awk '/qemu|QEMU/{next} {print $NF}' /root/cathy/mce-test/cases/function/kvm/host/monitor_console_output | cut -b 3-6 HOST_VIRT=7fe5 echo 'Host virtual address is 7fe5' Host virtual address is 7fe5 ./page-types -p 7455 -LN -b anon |grep 7fe5 cat /root/cathy/mce-test/cases/function/kvm/host/host_tmp | awk '{print "0x"$2"000"}' | sed '/^0x000$/d' | tail -1 ADDR=0x1031718000 echo 'Host physical address is 0x1031718000' Host physical address is 0x1031718000 cat /root/cathy/mce-inject/test/corrected echo 'ADDR 0x1031718000' echo 'calling mce-inject /root/cathy/mce-test/cases/function/kvm/host/mce_inject_data' mce-inject /root/cathy/mce-test/cases/function/kvm/host/mce_inject_data echo 0x16158000 | sed 's/000$//' GUEST_PHY_KLOG=0x16158 echo 'Guest physical klog address is 0x16158' Guest physical klog address is 0x16158 cat /root/cathy/mce-test/cases/function/kvm/host/serial_console_output |grep 'MCE 0x16158' '[' 1 -ne 0 ']' ... ... The host dmesg is: Starting machine check poll CPU 0 mce: [Hardware Error]: Machine check events logged Machine check poll done on CPU 0 Starting machine check poll CPU 1 mce: [Hardware Error]: Machine check events logged Machine check poll done on CPU 1 The host and the guest can't get the information of MCE. How to test it? -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html