crosvm/devices
David Stevens a334b0931a linux: refactor create_vfio_device
Refactor create_vfio_device so that it returns the created viommu
related mapper, if any. This allows add_vfio_device to be written more
cleanly.

BUG=None
TEST=Boot ManaTEE with devices managed by viommu

Change-Id: Ieaa345ed5f9146fde8e305fc7bc37001ff708683
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/crosvm/+/3676698
Commit-Queue: David Stevens <stevensd@chromium.org>
Reviewed-by: Alexandre Courbot <acourbot@chromium.org>
Reviewed-by: Keiichi Watanabe <keiichiw@chromium.org>
Tested-by: kokoro <noreply+kokoro@google.com>
2022-06-01 08:46:36 +00:00
..
src linux: refactor create_vfio_device 2022-06-01 08:46:36 +00:00
Cargo.toml devices: Update rng devices to be platform agnostic 2022-05-25 01:35:13 +00:00