From 5b5ba3515ea43676fe71e88cbd8d91ddcf3ef273 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 --- tools/kvm/virtio/pci.c | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/kvm/virtio/pci.c b/tools/kvm/virtio/pci.c index 7743431552af..f01851bc174b 100644 --- a/tools/kvm/virtio/pci.c +++ b/tools/kvm/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; -- 2.39.5