mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2024-11-05 11:31:14 +00:00
49ef201cd1
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> |
||
---|---|---|
.. | ||
lib.rs | ||
vfio_device.rs | ||
vfio_ioctls.rs | ||
vfio_pci.rs |