mirror of
https://chromium.googlesource.com/crosvm/crosvm
synced 2024-11-25 05:03:05 +00:00
01527e39b3
For MSIX-capable PCI devices, some BAR regions are described using VFIO_REGION_INFO_CAP_MSIX_MAPPABLE: The MSIX mappable capability informs that MSIX data of a BAR can be mmapped which allows direct access to non-MSIX registers which happened to be within the same system page. Add support for this capability so that VfioRegion stores the correct mmaps information. Also, fix a couple break conditions to avoid breaking out early. BUG=b:184904868 TEST=boot Linux kernel and verify MSIX-capable passthru devices work properly Change-Id: Ie451b154ccd4779f1694a1ffed0bd02127f5ecdb Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/crosvm/+/2972487 Tested-by: kokoro <noreply+kokoro@google.com> Reviewed-by: Daniel Verkamp <dverkamp@chromium.org> Commit-Queue: Daniel Verkamp <dverkamp@chromium.org> |
||
---|---|---|
.. | ||
src | ||
Cargo.toml |