diff options
author | Zhang Xiantao <xiantao.zhang@intel.com> | 2007-12-02 09:53:07 -0500 |
---|---|---|
committer | Avi Kivity <avi@qumranet.com> | 2008-01-30 10:53:17 -0500 |
commit | b1fd3d30ba46360fc94d40ee8dc1f7a4338b19be (patch) | |
tree | f4da83ade6adf2ef27e6ed903afc2667ee22b375 /drivers | |
parent | 0c7ac28d3dd27d718493aae4bbc7de89a2d9d386 (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')
-rw-r--r-- | drivers/kvm/ioapic.c | 5 |
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; |