mirror of
https://github.com/clearlinux/kvmtool.git
synced 2026-08-23 14:36:11 +00:00
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 <levinsasha928@gmail.com>
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user