commit | 0d8525e4e4da248455edb521bbdc92ce7bf9ea00 | [log] [tgz] |
---|---|---|
author | Andrew Walbran <[email protected]> | Mon Nov 13 20:18:17 2023 +0000 |
committer | Automerger Merge Worker <[email protected]> | Mon Nov 13 20:18:17 2023 +0000 |
tree | b6d0f4c8937ec6033eb54e90d41aeae760b39505 | |
parent | 082c33ee342e58d18c931b7fba8fec790e3559d0 [diff] | |
parent | 1959b72230dfdf81b8d36b501ab3808cb4adc274 [diff] |
Migrate to cargo_embargo. am: 18121a0272 am: 6e429f260b am: 1959b72230 Original change: https://android-review.googlesource.com/c/platform/external/rust/crates/vsock/+/2824650 Change-Id: I7cae13ea299df9a33c7b8245497d67e883a81ff6 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