]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: x86: check LAPIC presence when building apic_map
authorRadim Krčmář <rkrcmar@redhat.com>
Thu, 29 Jan 2015 21:33:35 +0000 (22:33 +0100)
committerPaolo Bonzini <pbonzini@redhat.com>
Fri, 30 Jan 2015 11:28:31 +0000 (12:28 +0100)
commit430b3c30114c4d0c664a438593dbe3335b757338
tree1acf4015e42260d47ade1fb12102b8d5fa83eb40
parent934a1c058161bbb572557ef4d5d72aab49c3d878
KVM: x86: check LAPIC presence when building apic_map

We forgot to re-check LAPIC after splitting the loop in commit
c6267d150e93 (KVM: x86: Software disabled APIC should still deliver
NMIs, 2014-11-02).

Signed-off-by: Radim Krčmář <rkrcmar@redhat.com>
Fixes: c6267d150e934651fc05ee4d36ee6f8387cf84f8
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/lapic.c