Messages in this thread | | | From | Paolo Bonzini <> | Subject | [PATCH 0/3] KVM: x86: consolidate "has lapic" checks | Date | Mon, 8 Feb 2016 17:15:43 +0100 |
| |
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
| |