diff options
author | Zhang Xiantao <xiantao.zhang@intel.com> | 2007-12-02 22:53:07 +0800 |
---|---|---|
committer | Avi Kivity <avi@qumranet.com> | 2008-01-30 17:53:17 +0200 |
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 0feae6f7fb2..e7debfafca5 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; |