commit | df96a99108387cf94272a52403516ea36fbe93e1 | [log] [tgz] |
---|---|---|
author | Andrew Walbran <[email protected]> | Mon Nov 13 20:24:24 2023 +0000 |
committer | Automerger Merge Worker <[email protected]> | Mon Nov 13 20:24:24 2023 +0000 |
tree | b6d0f4c8937ec6033eb54e90d41aeae760b39505 | |
parent | 0d8525e4e4da248455edb521bbdc92ce7bf9ea00 [diff] | |
parent | be2d1ace8a2566e749f5a117d4e0f2b69bb8096f [diff] |
Migrate to cargo_embargo. am: 18121a0272 am: c5cc33de19 am: be2d1ace8a Original change: https://android-review.googlesource.com/c/platform/external/rust/crates/vsock/+/2824650 Change-Id: I9155f559fa2b4ad703a319390c218d020a5b83ff 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