]> err.no Git - linux-2.6/commitdiff
KVM: Extend ioapic code to support iosapic
authorZhang Xiantao <xiantao.zhang@intel.com>
Sun, 2 Dec 2007 14:53:07 +0000 (22:53 +0800)
committerAvi Kivity <avi@qumranet.com>
Wed, 30 Jan 2008 15:53:17 +0000 (17:53 +0200)
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>
drivers/kvm/ioapic.c

index 0feae6f7fb2d2f6095e805df77aff712153ccb1b..e7debfafca50cd0cc9cc4639fb0a0b7c9105caff 100644 (file)
@@ -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;