On 28.04.2013, at 07:41, Gleb Natapov wrote: > On Fri, Apr 26, 2013 at 08:30:11PM +0200, Alexander Graf wrote: >> The concept of routing interrupt lines to an irqchip is nothing >> that is IOAPIC specific. Every irqchip has a maximum number of pins >> that can be linked to irq lines. >> >> So let's add a new define that allows us to reuse generic code for >> non-IOAPIC platforms. >> >> Signed-off-by: Alexander Graf <agraf@xxxxxxx> >> Acked-by: Michael S. Tsirkin <mst@xxxxxxxxxx> >> --- >> arch/x86/include/asm/kvm_host.h | 2 ++ >> include/linux/kvm_host.h | 2 +- >> virt/kvm/irq_comm.c | 2 +- >> 3 files changed, 4 insertions(+), 2 deletions(-) >> >> diff --git a/arch/x86/include/asm/kvm_host.h b/arch/x86/include/asm/kvm_host.h >> index 18635ae..14337fa 100644 >> --- a/arch/x86/include/asm/kvm_host.h >> +++ b/arch/x86/include/asm/kvm_host.h >> @@ -43,6 +43,8 @@ >> #define KVM_PIO_PAGE_OFFSET 1 >> #define KVM_COALESCED_MMIO_PAGE_OFFSET 2 >> >> +#define KVM_IRQCHIP_NUM_PINS KVM_IOAPIC_NUM_PINS >> + > Still not ia64 define. That follows in [PATCH 33/42] KVM: IA64: Carry non-ia64 changes into ia64 Alex -- 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