mirror of
https://chromium.googlesource.com/crosvm/crosvm
synced 2024-11-28 17:44:10 +00:00
6e8f33aa0a
To be truly OS-agnostic, we need an OS-agnostic Rust wrapper over the OS-specific handle type. SafeDescriptor seems to be the best option, and I hope it on crates.io in the future. This converts virtio_gpu/rutabaga to use the SafeDescriptor handle when practical. minigbm still uses File in some places, since it needs to SeekFrom(..), but minigbm is a Linux only thing anyways. BUG=b:173630595 TEST=boot VM in 2D/3D mode Change-Id: I18d735844d479f52d82d7976bf9b4e383b2e2252 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/crosvm/+/2779492 Commit-Queue: Gurchetan Singh <gurchetansingh@chromium.org> Commit-Queue: Zach Reizner <zachr@chromium.org> Tested-by: Gurchetan Singh <gurchetansingh@chromium.org> Reviewed-by: Michael Hoyle <mikehoyle@google.com> Reviewed-by: Zach Reizner <zachr@chromium.org> |
||
---|---|---|
.. | ||
poll_token_derive | ||
src | ||
.build_test_serial | ||
Cargo.toml |