commit | aa3896fc0a33dceadbc5500bcc6631a8df7f3433 | [log] [tgz] |
---|---|---|
author | Matthew Maurer <[email protected]> | Thu Mar 09 16:09:33 2023 +0000 |
committer | Automerger Merge Worker <[email protected]> | Thu Mar 09 16:09:33 2023 +0000 |
tree | 736fef5accd88a211d1028ae6622451dc45331aa | |
parent | 8de7b801c097bfaa77366669de486f4e2cd5f597 [diff] | |
parent | ae8287e9951e20a32c5bd2c33c6b1d1be3eaf838 [diff] |
Make vsock available to product and vendor am: b0ed37f95d am: ae8287e995 Original change: https://android-review.googlesource.com/c/platform/external/rust/crates/vsock/+/2476531 Change-Id: I8e98505a57d04ecf8eed08c15ce48615e4e8d213 Signed-off-by: Automerger Merge Worker <[email protected]>
Virtio socket support for Rust. Implements VsockListener and VsockStream which are analogous to the std::net::TcpListener
and std::net::TcpStream
types.
Refer to the crate documentation.
You will need a recent qemu-system-x86_64 build in your path.
Setup the required virtio kernel modules:
make kmod
Start the test vm, you can shutdown the vm with the keyboard shortcut Ctrl+A
and then x
:
make vm
Run the test suite with:
make check