cloud-hypervisor/fuzz
Sebastien Boeuf b11a8a5ab5 pci: vfio: Mmap region based on capabilities
Now that vfio-ioctls correctly exposes the list of capabilities related
to each region, Cloud Hypervisor can decide to mmap a region based on
the presence or absence of MSIX_MAPPABLE. Instead of blindly mmap'ing
the region, we check if the MSI-X table or PBA is present on the BAR,
and if that's the case, we look for MSIX_MAPPABLE.
If MSIX_MAPPABLE is present, we can go ahead and mmap the entire region.
If MSIX_MAPPABLE is not present, we simply ignore the mmap'ing of this
region as it wouldn't be supported.

Signed-off-by: Sebastien Boeuf <sebastien.boeuf@intel.com>
2021-11-08 10:32:09 +01:00
..
fuzz_targets Move Cloud Hypervisor to virtio-queue crate 2021-10-22 11:38:55 +02:00
.gitignore fuzz: Add fuzzing infrastructure and QCOW fuzzer 2020-07-17 08:49:35 +02:00
Cargo.lock pci: vfio: Mmap region based on capabilities 2021-11-08 10:32:09 +01:00
Cargo.toml build: bump libc from 0.2.105 to 0.2.106 in /fuzz 2021-11-02 05:22:22 +00:00