commit | 07f34bc1b8074a0423f5455f5af13c2e0c9bddef | [log] [tgz] |
---|---|---|
author | David Brazdil <[email protected]> | Wed Nov 23 21:26:38 2022 +0000 |
committer | Automerger Merge Worker <[email protected]> | Wed Nov 23 21:26:38 2022 +0000 |
tree | 57ec07b62eec0737b972d188a245046173a40cca | |
parent | 2bbd8bf471dabacb0bce8b07047e43316bc4d8f1 [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: Iba04cbc1cbb6d06b1d96f2d7cf530a4fccd93ef7 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