OSDN Git Service

ioapic: clear irq_eoi when updating the ioapic redirect table entry
authorLi Qiang <liq3ea@163.com>
Mon, 24 Jun 2019 15:16:35 +0000 (08:16 -0700)
committerPaolo Bonzini <pbonzini@redhat.com>
Fri, 5 Jul 2019 20:16:46 +0000 (22:16 +0200)
commitd15d3d573aa16ac4748d7c0291e582ed9d007485
tree782b3c0cd2e9c251e2bbc751d5eabfcf4b72a859
parent9a4bb8391fda2312803d44664575a662b9be7189
ioapic: clear irq_eoi when updating the ioapic redirect table entry

irq_eoi is used to count the number of irq injected during eoi
broadcast. It should be set to 0 when updating the ioapic's redirect
table entry.

Suggested-by: Peter Xu <peterx@redhat.com>
Signed-off-by: Li Qiang <liq3ea@163.com>
Reviewed-by: Peter Xu <peterx@redhat.com>
Message-Id: <20190624151635.22494-1-liq3ea@163.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
hw/intc/ioapic.c