diff options
author | Jan Kiszka <jan.kiszka@siemens.com> | 2008-10-20 10:20:03 +0200 |
---|---|---|
committer | Avi Kivity <avi@redhat.com> | 2008-12-31 15:51:47 +0100 |
commit | cc6e462cd54e64858ea25816df87d033229efe56 (patch) | |
tree | 3f34b8be2ec3eb63e06c223b1d75d7068a717318 /virt/kvm/irq_comm.c | |
parent | KVM: x86: Fix and refactor NMI watchdog emulation (diff) | |
download | linux-cc6e462cd54e64858ea25816df87d033229efe56.tar.xz linux-cc6e462cd54e64858ea25816df87d033229efe56.zip |
KVM: x86: Optimize NMI watchdog delivery
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>
Diffstat (limited to 'virt/kvm/irq_comm.c')
0 files changed, 0 insertions, 0 deletions