KVM: Fix device assignment threaded irq handler
authorAlex Williamson <alex.williamson@redhat.com>
Mon, 9 Jul 2012 16:53:22 +0000 (10:53 -0600)
committerAvi Kivity <avi@redhat.com>
Wed, 11 Jul 2012 10:01:48 +0000 (13:01 +0300)
The kernel no longer allows us to pass NULL for the hard handler
without also specifying IRQF_ONESHOT.  IRQF_ONESHOT imposes latency
in the exit path that we don't need for MSI interrupts.  Long term
we'd like to inject these interrupts from the hard handler when
possible.  In the short term, we can create dummy hard handlers
that return us to the previous behavior.  Credit to Michael for
original patch.

Fixes: https://bugzilla.kernel.org/show_bug.cgi?id=43328

Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
Signed-off-by: Avi Kivity <avi@redhat.com>

No differences found