Skip to content

Commit

Permalink
KVM: Extend ioapic code to support iosapic
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Zhang Xiantao authored and Avi Kivity committed Jan 30, 2008
1 parent 0c7ac28 commit b1fd3d3
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions drivers/kvm/ioapic.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit b1fd3d3

Please sign in to comment.