commit | 0bc830b05c667218d703f2026ec866c49df974fc | [log] [tgz] |
---|---|---|
author | Paolo Bonzini <pbonzini@redhat.com> | Tue Mar 18 10:47:17 2014 +0100 |
committer | Paolo Bonzini <pbonzini@redhat.com> | Fri Mar 21 10:20:10 2014 +0100 |
tree | 7360f66e70717eb144a16444c30e49eade21cdea | |
parent | 0b10a1c87a2b0fb459baaefba9cb163dbb8d3344 [diff] |
KVM: ioapic: clear IRR for edge-triggered interrupts at delivery This ensures that IRR bits are set in the KVM_GET_IRQCHIP result only if the interrupt is still sitting in the IOAPIC. After the next patches, it avoids spurious reinjection of the interrupt when KVM_SET_IRQCHIP is called. Reviewed-by: Alex Williamson <alex.williamson@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>