mirror of
https://chromium.googlesource.com/crosvm/crosvm
synced 2024-11-25 05:03:05 +00:00
7cc7c233a7
When using uring, we can just call `read_to_vec` rather than having to call `libc::read`. Unfortunately, PollSource cannot do the same without hitting an illegal seek (e.g. with eventfds), so we still have to keep the read_u64 method around. BUG=None TEST=`cargo test` in `cros_async`. Change-Id: I2c61468bec4a3f130c153eccf2875c047c61a2a9 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/crosvm/+/2482430 Reviewed-by: Chirantan Ekbote <chirantan@chromium.org> Tested-by: kokoro <noreply+kokoro@google.com> Commit-Queue: Noah Gold <nkgold@google.com> |
||
---|---|---|
.. | ||
src | ||
.build_test_skip | ||
Cargo.toml |