mirror of
https://chromium.googlesource.com/crosvm/crosvm
synced 2025-02-06 02:25:23 +00:00
05b13d0eff
When a memory region is added to the guest, ownership is passed to the Vm object. However, it was not possible to get the memory region back when removing it from the Vm. Update the return type of remove_memory_region so that the original boxed memory region can be returned to the caller. BUG=None TEST=cargo test -p kvm Change-Id: Ie39a57e0c037ed25a603865cb3dce1af1478e143 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/crosvm/+/2300840 Reviewed-by: Zach Reizner <zachr@chromium.org> Reviewed-by: Tomasz Jeznach <tjeznach@chromium.org> Tested-by: kokoro <noreply+kokoro@google.com> Commit-Queue: Zach Reizner <zachr@chromium.org> |
||
---|---|---|
.. | ||
src | ||
Cargo.toml |