[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1454948146-35353-1-git-send-email-pbonzini@redhat.com>
Date: Mon, 8 Feb 2016 17:15:43 +0100
From: Paolo Bonzini <pbonzini@...hat.com>
To: linux-kernel@...r.kernel.org, kvm@...r.kernel.org
Cc: rkrcmar@...hat.com
Subject: [PATCH 0/3] KVM: x86: consolidate "has lapic" checks
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
Powered by blists - more mailing lists