cloud-hypervisor/vm-virtio
Sebastien Boeuf 42378caa8b vm-virtio: Fix alignment and MSI-X table size on the BAR
As mentioned in the PCI specification:

If a dedicated Base Address register is not feasible, it is
recommended that a function isolate the MSI-X structures from
the non-MSI-X structures with aligned 8 KB ranges rather than
the mandatory aligned 4 KB ranges.

That's why this patch ensures that each structure present on the
BAR is 8KiB aligned.

It also fixes the MSI-X table and PBA sizes so that they can support
up to 2048 vectors, as specified for MSI-X.

Signed-off-by: Sebastien Boeuf <sebastien.boeuf@intel.com>
2019-06-07 13:33:53 +01:00
..
src vm-virtio: Fix alignment and MSI-X table size on the BAR 2019-06-07 13:33:53 +01:00
Cargo.toml vendor: Move to the rust-vmm vmm-sys-util package 2019-06-04 17:51:52 +02:00