mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2024-12-22 21:55:20 +00:00
a548a01423
The offsets returned by the table_offset() and pba_offset() function were wrong as they were shifting the value by 3 bits. The MSI-X spec defines the MSI-X table and PBA offsets as being defined on 3-31 bits, but this does not mean it has to be shifted. Instead, the address is still on 32 bits and assumes the LSB bits 0-2 are set to 0. VFIO was working fine with devices were the MSI-X offset were 0x0, but the bug was found on a device where the offset was non-null. Signed-off-by: Sebastien Boeuf <sebastien.boeuf@intel.com> |
||
---|---|---|
.. | ||
src | ||
Cargo.toml |