]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
KVM: x86: Software disabled APIC should still deliver NMIs
authorNadav Amit <namit@cs.technion.ac.il>
Sun, 2 Nov 2014 09:54:54 +0000 (11:54 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Mon, 17 Nov 2014 11:16:19 +0000 (12:16 +0100)
commit173beedc1601f51dae9d579aa7a414c5aa8f700b
treec5c58dc63c355445fd84ba8628fe986099ffd709
parent5cc150279936a618187c42966a8a2f09177ac80a
KVM: x86: Software disabled APIC should still deliver NMIs

Currently, the APIC logical map does not consider VCPUs whose local-apic is
software-disabled.  However, NMIs, INIT, etc. should still be delivered to such
VCPUs. Therefore, the APIC mode should first be determined, and then the map,
considering all VCPUs should be constructed.

To address this issue, first find the APIC mode, and only then construct the
logical map.

Signed-off-by: Nadav Amit <namit@cs.technion.ac.il>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/lapic.c