From: Zhang Xiantao Date: Sun, 2 Dec 2007 14:53:07 +0000 (+0800) Subject: KVM: Extend ioapic code to support iosapic X-Git-Tag: v2.6.25-rc1~1138^2~68 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b1fd3d30ba46360fc94d40ee8dc1f7a4338b19be;p=linux-2.6 KVM: Extend ioapic code to support iosapic iosapic supports an additional mmio EOI register compared to ioapic. Signed-off-by: Zhang Xiantao Signed-off-by: Avi Kivity --- diff --git a/drivers/kvm/ioapic.c b/drivers/kvm/ioapic.c index 0feae6f7fb..e7debfafca 100644 --- a/drivers/kvm/ioapic.c +++ b/drivers/kvm/ioapic.c @@ -360,6 +360,11 @@ static void ioapic_mmio_write(struct kvm_io_device *this, gpa_t addr, int len, case IOAPIC_REG_WINDOW: ioapic_write_indirect(ioapic, data); break; +#ifdef CONFIG_IA64 + case IOAPIC_REG_EOI: + kvm_ioapic_update_eoi(ioapic, data); + break; +#endif default: break;