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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 kvm" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux