>From d53dfacedea40213382694229700d02bfa72d923 Mon Sep 17 00:00:00 2001 From: Xiantao Zhang <xiantao.zhang@xxxxxxxxx> Date: Tue, 19 Aug 2008 17:33:21 +0800 Subject: [PATCH] KVM: KVM/IA-64: Fix kvm/ia64's build issue. Disable irq ack notification for ia64. Signed-off-by: Xiantao Zhang <xiantao.zhang@xxxxxxxxx> --- virt/kvm/ioapic.c | 7 ++++++- 1 files changed, 6 insertions(+), 1 deletions(-) diff --git a/virt/kvm/ioapic.c b/virt/kvm/ioapic.c index 515cd7c..992199b 100644 --- a/virt/kvm/ioapic.c +++ b/virt/kvm/ioapic.c @@ -39,7 +39,10 @@ #include "ioapic.h" #include "lapic.h" + +#ifdef CONFIG_X86 #include "irq.h" +#endif #if 0 #define ioapic_debug(fmt,arg...) printk(KERN_WARNING fmt,##arg) @@ -293,7 +296,9 @@ static void __kvm_ioapic_update_eoi(struct kvm_ioapic *ioapic, int gsi, ent = &ioapic->redirtbl[gsi]; +#ifdef CONFIG_X86 kvm_notify_acked_irq(ioapic->kvm, gsi); +#endif if (trigger_mode == IOAPIC_LEVEL_TRIG) { ASSERT(ent->fields.trig_mode == IOAPIC_LEVEL_TRIG); @@ -386,7 +391,7 @@ static void ioapic_mmio_write(struct kvm_io_device *this, gpa_t addr, int len, break; #ifdef CONFIG_IA64 case IOAPIC_REG_EOI: - kvm_ioapic_update_eoi(ioapic->kvm, data); + kvm_ioapic_update_eoi(ioapic->kvm, data, IOAPIC_LEVEL_TRIG); break; #endif -- 1.5.1
Attachment:
0001-KVM-KVM-IA-64-Fix-kvm-ia64-s-build-issue.patch
Description: 0001-KVM-KVM-IA-64-Fix-kvm-ia64-s-build-issue.patch