mirror of
https://chromium.googlesource.com/crosvm/crosvm
synced 2025-02-06 02:25:23 +00:00
c085b765bd
Coiommu is a virtual PCI interface device. It provides pin page functionality to the guest VM for the pass-through device through the VFIO framework. With this, the guest VM doesn't need to pin pages at the VM creating time but just need to do this through coiommu frontend driver dynamically at runtime. Coiommu frontend driver will send the pin request to the backend through device MMIO with the GFN address. Backend then find out the proper HVA according to this GFN and map this GFN to the HPA finally through the VFIO framework. Unpin page functionality will be supported in the next patches. BUG=b:188481989 TEST=Boot a VM Change-Id: Iac347200305ed0cebe1456e3a0a353de83e6c80b Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/crosvm/+/3292930 Reviewed-by: Chirantan Ekbote Reviewed-by: Daniel Verkamp <dverkamp@chromium.org> Tested-by: kokoro <noreply+kokoro@google.com> Reviewed-by: David Stevens <stevensd@chromium.org> Commit-Queue: David Stevens <stevensd@chromium.org> |
||
---|---|---|
.. | ||
src | ||
.build_test_serial | ||
Cargo.toml |