diff options
author | Zhang Xiantao <xiantao.zhang@intel.com> | 2007-12-02 15:53:07 +0100 |
---|---|---|
committer | Avi Kivity <avi@qumranet.com> | 2008-01-30 16:53:17 +0100 |
commit | b1fd3d30ba46360fc94d40ee8dc1f7a4338b19be (patch) | |
tree | f4da83ade6adf2ef27e6ed903afc2667ee22b375 /drivers/kvm | |
parent | KVM: Replace dest_Lowest_Prio and dest_Fixed with self-defined macros (diff) | |
download | linux-b1fd3d30ba46360fc94d40ee8dc1f7a4338b19be.tar.xz linux-b1fd3d30ba46360fc94d40ee8dc1f7a4338b19be.zip |
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')
-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, 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; |