KVM: x86: Optimize NMI watchdog delivery
authorJan Kiszka <jan.kiszka@siemens.com>
Mon, 20 Oct 2008 08:20:03 +0000 (10:20 +0200)
committerAvi Kivity <avi@redhat.com>
Wed, 31 Dec 2008 14:51:47 +0000 (16:51 +0200)
As suggested by Avi, this patch introduces a counter of VCPUs that have
LVT0 set to NMI mode. Only if the counter > 0, we push the PIT ticks via
all LAPIC LVT0 lines to enable NMI watchdog support.

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Acked-by: Sheng Yang <sheng@linux.intel.com>
Signed-off-by: Avi Kivity <avi@redhat.com>

No differences found