commit | ae8287e9951e20a32c5bd2c33c6b1d1be3eaf838 | [log] [tgz] |
---|---|---|
author | Matthew Maurer <[email protected]> | Thu Mar 09 15:13:38 2023 +0000 |
committer | Automerger Merge Worker <[email protected]> | Thu Mar 09 15:13:38 2023 +0000 |
tree | 736fef5accd88a211d1028ae6622451dc45331aa | |
parent | 999c47c25250726cd3a348ab14f97a82513f984f [diff] | |
parent | b0ed37f95d4949c55aa5eec54279b64d8c22613c [diff] |
Make vsock available to product and vendor am: b0ed37f95d Original change: https://android-review.googlesource.com/c/platform/external/rust/crates/vsock/+/2476531 Change-Id: Ie24c216d33d5187f47542df423ddb2fb69f94303 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