cloud-hypervisor/vfio
Sebastien Boeuf 3202e8ac7a vfio: Fix 64bits BAR size reading
The way to get the BAR size is by writing all 1's to the BAR register in
the PCI config space. The mechanism was in place but the parameters were
swapped. The data buffer was provided with the actual offset, while the
offset was provided with the actual all 1's dword. We were effectively
trying to write the real offset at the offset 0xffffffff, which was
failing and resulting in the size being wrong.

Signed-off-by: Sebastien Boeuf <sebastien.boeuf@intel.com>
2020-01-23 13:07:43 +01:00
..
src vfio: Fix 64bits BAR size reading 2020-01-23 13:07:43 +01:00
Cargo.toml vm-virtio, vmm, vfio: Store GuestMemoryMmap in an Arc<ArcSwap<T>> 2020-01-02 13:20:11 +00:00