cloud-hypervisor/pci/src
Rob Bradford 363b478040 pci: vfio: Don't assume MSI-X is enabled
The fixup_msix_region() function added in
a718716831
made the assumption that MSI-X was always available. This is the case
with many VFIO devices and all our virtio devices but created regression
with MSI devices.

Simply return the existing region size if MSI-X is not supported by the
device.

Fixes: #5649

Signed-off-by: Rob Bradford <rbradford@rivosinc.com>
2023-08-07 07:41:15 +01:00
..
bus.rs pci, virtio-devices: Move VirtioPciDevice to the new restore design 2022-11-23 18:37:40 +00:00
configuration.rs pci: Remove "from_over_into" clippy 2023-06-26 10:37:58 -07:00
device.rs misc: Automatically fix cargo clippy issues added in 1.65 (stable) 2022-12-14 14:27:19 +00:00
lib.rs pci, virtio-devices: Move VirtioPciDevice to the new restore design 2022-11-23 18:37:40 +00:00
msi.rs vm-device: support batch update interrupt source group GSI 2023-08-03 15:58:36 +01:00
msix.rs vm-device: support batch update interrupt source group GSI 2023-08-03 15:58:36 +01:00
vfio_user.rs misc: Automatically fix cargo clippy issues added in 1.65 (stable) 2022-12-14 14:27:19 +00:00
vfio.rs pci: vfio: Don't assume MSI-X is enabled 2023-08-07 07:41:15 +01:00