OSDN Git Service

tco: do not generate an NMI
authorPaolo Bonzini <pbonzini@redhat.com>
Wed, 5 Apr 2017 08:11:36 +0000 (10:11 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Wed, 5 Apr 2017 15:23:52 +0000 (17:23 +0200)
commit8c9f42f3cf3598e8bb612b3f81cd12632efd3ca4
tree1f7dc7f52d8ab79d2e2d38706e56bb23f7541f31
parent87cc4c61020addea6a001b94b662596b1896d1b3
tco: do not generate an NMI

This behavior is not indicated in the datasheet and can confuse the OS.
The TCO can trap NMIs from SERR# or IOCHK# and convert them to SMIs; but
any other TCO event is either delivered as an SMI or completely disabled.

Reviewed-by: Laszlo Ersek <lersek@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
hw/acpi/tco.c
hw/isa/lpc_ich9.c
include/hw/i386/ich9.h