commit | 18121a02722b3914dae1de17f2fc02f9c23a5e11 | [log] [tgz] |
---|---|---|
author | Andrew Walbran <[email protected]> | Thu Nov 09 16:53:21 2023 +0000 |
committer | Andrew Walbran <[email protected]> | Thu Nov 09 16:53:21 2023 +0000 |
tree | b6d0f4c8937ec6033eb54e90d41aeae760b39505 | |
parent | 9702e5b070d5640fd4534633f1485bc2c589a196 [diff] |
Migrate to cargo_embargo. Bug: 293289578 Test: Ran cargo_embargo, compared Android.bp Change-Id: I013a67dfa60dcd6cc280a9187c833fd6855a70a4
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