mirror of
https://chromium.googlesource.com/crosvm/crosvm
synced 2025-02-11 04:26:38 +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> |
||
---|---|---|
.. | ||
android | ||
linux | ||
alloc.rs | ||
capabilities.rs | ||
clock.rs | ||
descriptor.rs | ||
errno.rs | ||
eventfd.rs | ||
external_mapping.rs | ||
file_flags.rs | ||
file_traits.rs | ||
fork.rs | ||
handle_eintr.rs | ||
ioctl.rs | ||
lib.rs | ||
mmap.rs | ||
net.rs | ||
passwd.rs | ||
poll.rs | ||
priority.rs | ||
raw_fd.rs | ||
sched.rs | ||
seek_hole.rs | ||
shm.rs | ||
signal.rs | ||
signalfd.rs | ||
sock_ctrl_msg.rs | ||
struct_util.rs | ||
syslog.rs | ||
terminal.rs | ||
timerfd.rs | ||
write_zeroes.rs |