commit | 1e740fd71b0903c0d22dae3d598bf1ee4eccc1fd | [log] [tgz] |
---|---|---|
author | David Brazdil <[email protected]> | Wed Nov 23 21:30:21 2022 +0000 |
committer | Automerger Merge Worker <[email protected]> | Wed Nov 23 21:30:21 2022 +0000 |
tree | 57ec07b62eec0737b972d188a245046173a40cca | |
parent | 61a197b76fd4fbfd1ea3f1a19d5201cedb5a9972 [diff] | |
parent | 339b47bec656369992c52a10dd4b2c9226614764 [diff] |
Make crate available to com.android.compos APEX am: 339b47bec6 Original change: https://android-review.googlesource.com/c/platform/external/rust/crates/vsock/+/2269866 Change-Id: Iaca01b856344683405f0e772cf3a44ccd7000c5f 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