cloud-hypervisor/pci/src
Steven Dake 868d1f6902 pci: vfio: Preserve prefetchable BAR flag
If the BAR for the VFIO device is marked as prefetchable on the
underlying device ensure that the BAR exposed through PciConfiguration
is also marked as prefetchable.

Fixes problem where NVIDIA devices are not usable with PCI VFIO
passthrough. See related NVIDIA kernel driver bug:
 https://github.com/NVIDIA/open-gpu-kernel-modules/issues/344.

Fixes: #4451

Signed-off-by: Steven Dake <sdake@lambdal.com>
Signed-off-by: Rob Bradford <robert.bradford@intel.com>
2022-08-08 14:12:09 +01:00
..
bus.rs pci: Replace BAR tuple with PciBarConfiguration 2022-04-19 12:54:09 -07:00
configuration.rs pci: vfio: Preserve prefetchable BAR flag 2022-08-08 14:12:09 +01:00
device.rs vmm: Use new Resource type PciBar 2022-04-19 12:54:09 -07:00
lib.rs build: Fix beta clippy issue (derive_partial_eq_without_eq) 2022-06-30 20:50:45 +01:00
msi.rs pci: msi: Make MsiCap field public 2022-06-09 09:19:58 +02:00
msix.rs pci: msix: Derive Versionize for MsixCap 2022-06-09 09:19:58 +02:00
vfio_user.rs build: Fix beta clippy issue (needless_return) 2022-06-30 20:50:45 +01:00
vfio.rs pci: vfio: Preserve prefetchable BAR flag 2022-08-08 14:12:09 +01:00