commit | c5cc33de1900208d3de05025e60c6542e27ea73f | [log] [tgz] |
---|---|---|
author | Andrew Walbran <[email protected]> | Mon Nov 13 19:18:20 2023 +0000 |
committer | Automerger Merge Worker <[email protected]> | Mon Nov 13 19:18:20 2023 +0000 |
tree | b6d0f4c8937ec6033eb54e90d41aeae760b39505 | |
parent | 9702e5b070d5640fd4534633f1485bc2c589a196 [diff] | |
parent | 18121a02722b3914dae1de17f2fc02f9c23a5e11 [diff] |
Migrate to cargo_embargo. am: 18121a0272 Original change: https://android-review.googlesource.com/c/platform/external/rust/crates/vsock/+/2824650 Change-Id: I4dab6ca7d6e6b906084d8240843fb2e442f26330 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