]> git.proxmox.com Git - mirror_qemu.git/commit
x86: ioapic: ignore level irq during processing
authorPeter Xu <peterx@redhat.com>
Sun, 31 Jul 2016 14:18:05 +0000 (22:18 +0800)
committerPaolo Bonzini <pbonzini@redhat.com>
Wed, 3 Aug 2016 16:44:57 +0000 (18:44 +0200)
commitf99b86b94987561580a94838766458e1c7b8685d
tree2ec96d3d57f4d841e2956b5b9bf8cb75c7092fad
parent7298d4fd515c190b1b6c1266735f6212300313ae
x86: ioapic: ignore level irq during processing

For level triggered interrupts, we will get Remote IRR bit cleared after
guest kernel finished processing specific request. Before that, we
should ignore the same interrupt from triggering again.

Signed-off-by: Peter Xu <peterx@redhat.com>
Message-Id: <1469974685-4144-1-git-send-email-peterx@redhat.com>
[Push new "if" up so that it covers KVM split irqchip as well. - Paolo]
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
hw/intc/ioapic.c