qemu-e2k/target-i386
Huang Ying af364b418c MCE: Fix bug of IA32_MCG_STATUS after system reset
Now, if we inject a fatal MCE into guest OS, for example Linux, Linux
will go panic and then reboot. But if we inject another MCE now,
system will reset directly instead of go panic firstly, because
MCG_STATUS.MCIP is set to 1 and not cleared after reboot. This is does
not follow the behavior in real hardware.

This patch fixes this via set env->mcg_status to 0 during system reset.

Signed-off-by: Huang Ying <ying.huang@intel.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
2010-01-11 09:56:30 -06:00
..
cpu.h target-i386: Fix evaluation of DR7 register 2009-12-18 11:26:25 -06:00
exec.h
helper_template.h
helper.c MCE: Fix bug of IA32_MCG_STATUS after system reset 2010-01-11 09:56:30 -06:00
helper.h target-i386: implement lzcnt emulation 2009-10-23 17:10:36 +02:00
kvm.c kvm: x86: Use separate exception_injected CPUState field 2009-12-18 11:26:25 -06:00
machine.c Revert "kvm: x86: Save/restore exception_index" 2009-12-18 11:26:33 -06:00
op_helper.c target-i386: implement lzcnt emulation 2009-10-23 17:10:36 +02:00
ops_sse_header.h
ops_sse.h
svm.h
TODO
translate.c target-i386: Fix "call im" on x86_64 when executing 32-bit code 2010-01-03 03:14:41 +01:00