[PATCH 0/2] KVM: x86: introduce lapic_in_kernel

From: Paolo Bonzini
Date: Thu Jul 30 2015 - 07:26:54 EST


This optimizes a little the code with split irqchip, by avoiding the
need to check both vcpu->kvm->arch.vpic and vcpu->kvm->irqchip_split.

No conflicts with Steve's patches, except for the irq.c hunks that I
have commented on earlier.

Paolo

Paolo Bonzini (2):
KVM: x86: replace vm_has_apicv hook with cpu_uses_apicv
KVM: x86: introduce lapic_in_kernel

arch/x86/include/asm/kvm_host.h | 2 +-
arch/x86/kvm/irq.c | 8 +++----
arch/x86/kvm/irq.h | 8 +++++++
arch/x86/kvm/lapic.c | 8 +++----
arch/x86/kvm/lapic.h | 4 ++--
arch/x86/kvm/mmu.c | 2 +-
arch/x86/kvm/svm.c | 8 +++----
arch/x86/kvm/vmx.c | 46 ++++++++++++++++++++---------------------
arch/x86/kvm/x86.c | 18 ++++++++--------
9 files changed, 56 insertions(+), 48 deletions(-)

--
1.8.3.1

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/