You've already forked linux-apfs
mirror of
https://github.com/linux-apfs/linux-apfs.git
synced 2026-05-01 15:00:59 -07:00
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>
This commit is contained in:
committed by
Avi Kivity
parent
0c7ac28d3d
commit
b1fd3d30ba
@@ -360,6 +360,11 @@ static void ioapic_mmio_write(struct kvm_io_device *this, gpa_t addr, int len,
|
|||||||
case IOAPIC_REG_WINDOW:
|
case IOAPIC_REG_WINDOW:
|
||||||
ioapic_write_indirect(ioapic, data);
|
ioapic_write_indirect(ioapic, data);
|
||||||
break;
|
break;
|
||||||
|
#ifdef CONFIG_IA64
|
||||||
|
case IOAPIC_REG_EOI:
|
||||||
|
kvm_ioapic_update_eoi(ioapic, data);
|
||||||
|
break;
|
||||||
|
#endif
|
||||||
|
|
||||||
default:
|
default:
|
||||||
break;
|
break;
|
||||||
|
|||||||
Reference in New Issue
Block a user