mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2024-12-23 06:05:21 +00:00
b11a8a5ab5
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> |
||
---|---|---|
.. | ||
fuzz_targets | ||
.gitignore | ||
Cargo.lock | ||
Cargo.toml |