This cleans up "has in-kernel LAPIC" checks in various ways, especially avoiding checking things twice and providing a single way to do the test. Paolo Paolo Bonzini (3): KVM: APIC: remove unnecessary double checks on APIC existence KVM: x86: consolidate "has lapic" checks into irq.c KVM: x86: consolidate different ways to test for in-kernel LAPIC arch/x86/kvm/irq.c | 9 ++++++--- arch/x86/kvm/irq.h | 8 -------- arch/x86/kvm/lapic.c | 41 ++++++++++++----------------------------- arch/x86/kvm/lapic.h | 8 ++++---- arch/x86/kvm/pmu.c | 2 +- arch/x86/kvm/x86.c | 17 +++++++++-------- 6 files changed, 32 insertions(+), 53 deletions(-) -- 1.8.3.1 -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html