apic: Inject external NMI events via LINT1
commit02c091953cd8c24db46649ad2862b9648c50f865
authorJan Kiszka <jan.kiszka@siemens.com>
Mon, 17 Oct 2011 16:00:06 +0000 (18 00:00 +0800)
committerJan Kiszka <jan.kiszka@siemens.com>
Thu, 19 Jan 2012 11:14:40 +0000 (19 12:14 +0100)
tree3ff157d089409a92ce597a224447da45ffafe8f5
parentab388a98148e5b44ba0b6bc0269fdb983b4a6838
apic: Inject external NMI events via LINT1

On real hardware, NMI button events are injected via the LINT1 line of
the APICs. E.g. kdump expect this wiring and gets upset if the per-APIC
LINT1 mask is not respected, i.e. if NMIs are injected to VCPUs that
should not receive them. Change the APIC emulation code to reflect this.

Based on qemu-kvm patch by Lai Jiangshan.

CC: Lai Jiangshan <laijs@cn.fujitsu.com>
Reported-by: Kenji Kaneshige <kaneshige.kenji@jp.fujitsu.com>
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
cpus.c
hw/apic.c
hw/apic.h