mirror of
https://chromium.googlesource.com/crosvm/crosvm
synced 2024-11-24 20:48:55 +00:00
8a95e60799
With multiple regions potentially backing a single `GuestMemory` instance, `AsRef` doesn't make sense any more. Switch the one user to `shm_region` which returns the region for a given address. The `AsRef` implementation was accidentally left in the change to allow multiple regions in guest memory. Change-Id: I1246de004315a44f1f9d58995d837f3fbecb5d6c Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/crosvm/+/2808745 Tested-by: kokoro <noreply+kokoro@google.com> Commit-Queue: Dylan Reid <dgreid@chromium.org> Reviewed-by: Daniel Verkamp <dverkamp@chromium.org> Reviewed-by: Chih-Yang Hsia <paulhsia@chromium.org> |
||
---|---|---|
.. | ||
src | ||
Cargo.toml |