cloud-hypervisor/vm-virtio
Sebastien Boeuf 24dbe7003a irq: Fix pin based interrupt for virtio-pci
When the KVM capability KVM_CAP_SIGNAL_MSI is not present, the VMM
falls back from MSI-X onto pin based interrupts. Unfortunately, this
was not working as expected because the VirtioPciDevice object was
always creating an MSI-X capability structure in the PCI configuration
space. This was causing the guest drivers to expect MSI-X interrupts
instead of the pin based generated ones.

This patch takes care of avoiding the creation of a dedicated MSI-X
capability structure when MSI is not supported by KVM.

Signed-off-by: Sebastien Boeuf <sebastien.boeuf@intel.com>
2019-06-07 18:19:52 +01:00
..
src irq: Fix pin based interrupt for virtio-pci 2019-06-07 18:19:52 +01:00
Cargo.toml vendor: Move to the rust-vmm vmm-sys-util package 2019-06-04 17:51:52 +02:00