KVM: ignore msi request if !level
commit07fb8bb29f5269f30afa6f1b3d941406677f6ad2
authorMichael S. Tsirkin <mst@redhat.com>
Sun, 5 Jul 2009 18:27:58 +0000 (5 21:27 +0300)
committerAvi Kivity <avi@redhat.com>
Thu, 10 Sep 2009 05:33:10 +0000 (10 08:33 +0300)
treee18ff9ca00dfb917f049cd349249d7bab71cae3b
parentf7c6d140032ae7e80df36d350c6edc41f92b2f94
KVM: ignore msi request if !level

Irqfd sets level for interrupt to 1 and then to 0.
For MSI, check level so that a single message is sent.

Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
virt/kvm/irq_comm.c