aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/kvm/ioapic.c
diff options
context:
space:
mode:
authorZhang Xiantao <xiantao.zhang@intel.com>2007-12-02 09:53:07 -0500
committerAvi Kivity <avi@qumranet.com>2008-01-30 10:53:17 -0500
commitb1fd3d30ba46360fc94d40ee8dc1f7a4338b19be (patch)
treef4da83ade6adf2ef27e6ed903afc2667ee22b375 /drivers/kvm/ioapic.c
parent0c7ac28d3dd27d718493aae4bbc7de89a2d9d386 (diff)
KVM: Extend ioapic code to support iosapic
iosapic supports an additional mmio EOI register compared to ioapic. Signed-off-by: Zhang Xiantao <xiantao.zhang@intel.com> Signed-off-by: Avi Kivity <avi@qumranet.com>
Diffstat (limited to 'drivers/kvm/ioapic.c')
-rw-r--r--drivers/kvm/ioapic.c5
1 files changed, 5 insertions, 0 deletions
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,
360 case IOAPIC_REG_WINDOW: 360 case IOAPIC_REG_WINDOW:
361 ioapic_write_indirect(ioapic, data); 361 ioapic_write_indirect(ioapic, data);
362 break; 362 break;
363#ifdef CONFIG_IA64
364 case IOAPIC_REG_EOI:
365 kvm_ioapic_update_eoi(ioapic, data);
366 break;
367#endif
363 368
364 default: 369 default:
365 break; 370 break;