]> git.karo-electronics.de Git - linux-beck.git/commitdiff
KVM: IA64: Carry non-ia64 changes into ia64
authorAlexander Graf <agraf@suse.de>
Thu, 25 Apr 2013 09:50:03 +0000 (11:50 +0200)
committerAlexander Graf <agraf@suse.de>
Fri, 26 Apr 2013 18:27:27 +0000 (20:27 +0200)
We changed a few things in non-ia64 code paths. This patch blindly applies
the changes to the ia64 code as well, hoping it proves useful in case anyone
revives the ia64 kvm code.

Signed-off-by: Alexander Graf <agraf@suse.de>
arch/ia64/include/asm/kvm_host.h
arch/ia64/kvm/Kconfig
arch/ia64/kvm/Makefile

index cfa74983c6751a78fdd998fcc1aada6e2fd67f6a..989dd3fe8de19d9fc40de248f5788f359eb3ebc6 100644 (file)
@@ -26,6 +26,7 @@
 #define KVM_USER_MEM_SLOTS 32
 
 #define KVM_COALESCED_MMIO_PAGE_OFFSET 1
+#define KVM_IRQCHIP_NUM_PINS  KVM_IOAPIC_NUM_PINS
 
 /* define exit reasons from vmm to kvm*/
 #define EXIT_REASON_VM_PANIC           0
index 2cd225f8c68d288f50eabda6a3528fc3f9e3bdc5..043183a06409da799e9de0b2ba5a4749f357fabc 100644 (file)
@@ -27,6 +27,7 @@ config KVM
        select PREEMPT_NOTIFIERS
        select ANON_INODES
        select HAVE_KVM_IRQCHIP
+       select HAVE_KVM_IRQ_ROUTING
        select KVM_APIC_ARCHITECTURE
        select KVM_MMIO
        ---help---
index db3d7c5d10711a1d0357a0c179e752f1d6f0df58..511f64a78d56d9ad16dba099e957f0224d9a54f0 100644 (file)
@@ -49,7 +49,7 @@ ccflags-y := -Ivirt/kvm -Iarch/ia64/kvm/
 asflags-y := -Ivirt/kvm -Iarch/ia64/kvm/
 
 common-objs = $(addprefix ../../../virt/kvm/, kvm_main.o ioapic.o \
-               coalesced_mmio.o irq_comm.o assigned-dev.o)
+               coalesced_mmio.o irq_comm.o assigned-dev.o irqchip.o)
 
 ifeq ($(CONFIG_IOMMU_API),y)
 common-objs += $(addprefix ../../../virt/kvm/, iommu.o)