kvm: deliver msi interrupts from irq handler
authorMichael S. Tsirkin <mst@redhat.com>
Wed, 17 Oct 2012 16:06:06 +0000 (18:06 +0200)
committerGleb Natapov <gleb@redhat.com>
Wed, 5 Dec 2012 13:10:53 +0000 (15:10 +0200)
We can deliver certain interrupts, notably MSI,
from atomic context.  Use kvm_set_irq_inatomic,
to implement an irq handler for msi.

This reduces the pressure on scheduler in case
where host and guest irq share a host cpu.

Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Gleb Natapov <gleb@redhat.com>

No differences found