From: Zhang Xiantao Date: Sun, 2 Dec 2007 14:53:07 +0000 (+0800) Subject: KVM: Extend ioapic code to support iosapic X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=b1fd3d30ba46360fc94d40ee8dc1f7a4338b19be;p=GitHub%2Fexynos8895%2Fandroid_kernel_samsung_universal8895.git 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 0feae6f7fb2d..e7debfafca50 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;