From a36eca7b41272270584c6388d1dfdafde0831dbf Mon Sep 17 00:00:00 2001 From: Sasha Levin Date: Mon, 19 Sep 2011 13:40:45 +0300 Subject: [PATCH] kvm tools: Fix INTx handling Since we didn't raise the ISR INTx interrupts were sometimes ignored by the guest. This caused hangs on boot when starting a guest without MSIX support. Signed-off-by: Sasha Levin --- virtio/pci.c | 1 + 1 file changed, 1 insertion(+) diff --git a/virtio/pci.c b/virtio/pci.c index 7743431..f01851b 100644 --- a/virtio/pci.c +++ b/virtio/pci.c @@ -234,6 +234,7 @@ int virtio_pci__signal_vq(struct kvm *kvm, struct virtio_pci *vpci, u32 vq) kvm__irq_trigger(kvm, vpci->gsis[vq]); } else { + vpci->isr = VIRTIO_IRQ_HIGH; kvm__irq_trigger(kvm, vpci->pci_hdr.irq_line); } return 0;