commit | 6a3d1c378b747d0f5f4252cd3e7ae059ad0d4fad | [log] [tgz] |
---|---|---|
author | Matthew Maurer <[email protected]> | Thu Mar 09 18:07:24 2023 +0000 |
committer | Automerger Merge Worker <[email protected]> | Thu Mar 09 18:07:24 2023 +0000 |
tree | 736fef5accd88a211d1028ae6622451dc45331aa | |
parent | be3537d7a770e8a5b508ce47fa5ebea082766038 [diff] | |
parent | 9702e5b070d5640fd4534633f1485bc2c589a196 [diff] |
Make vsock available to product and vendor am: b0ed37f95d am: ae8287e995 am: aa3896fc0a am: 9702e5b070 Original change: https://android-review.googlesource.com/c/platform/external/rust/crates/vsock/+/2476531 Change-Id: I30161117436c715801684f59c61bdcf57fa1e232 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