cloud-hypervisor/vfio/src
Sebastien Boeuf 49ef201cd1 vfio: pci: Provide the right MSI-X table offset
When reading from or writing to the MSI-X table, the function provided
by the PCI crate expects the offset to start from the beginning of the
table. That's why it is VFIO specific code to be responsible for
providing the right offset, which means it needs to be the offset
substracted by the beginning of the MSI-X table offset.

This bug was not discovered until we tested VFIO with some device where
the MSI-X table was placed on a BAR at an offset different from 0x0.

Signed-off-by: Sebastien Boeuf <sebastien.boeuf@intel.com>
2019-08-02 09:45:20 +02:00
..
lib.rs vfio: pci: Build the KVM routes 2019-07-24 11:55:08 +02:00
vfio_device.rs vfio: Create a global KVM VFIO device for all VFIO devices 2019-07-25 11:45:38 +01:00
vfio_ioctls.rs vfio: VFIO API wrappers and helpers 2019-07-24 11:55:08 +02:00
vfio_pci.rs vfio: pci: Provide the right MSI-X table offset 2019-08-02 09:45:20 +02:00