mirror of
https://chromium.googlesource.com/crosvm/crosvm
synced 2025-02-06 02:25:23 +00:00
For historical reasons, crosvm switched to sending `IntoIobuf`, this isn't implementable for a slice of slices as it would require an allocation. The rust-vmm fork of sys_util still supports sending `&[&[u8]]`. Adding that ability back makes it easier to use their crates. In addition crosvm allows receiving to slices by not iovecs, again the opposite of the rust-vmm version. Add that ability as well. Change-Id: I4566f232adb47a0802e39e3f6c09c03f97190eb3 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/crosvm/+/2740533 Reviewed-by: Keiichi Watanabe <keiichiw@chromium.org> Reviewed-by: Chirantan Ekbote <chirantan@chromium.org> Tested-by: kokoro <noreply+kokoro@google.com> Tested-by: Keiichi Watanabe <keiichiw@chromium.org> Commit-Queue: Keiichi Watanabe <keiichiw@chromium.org> |
||
---|---|---|
.. | ||
poll_token_derive | ||
src | ||
.build_test_serial | ||
Cargo.toml |