commit | 0181b8bc2e1811b3f8f76611c6e2c8ffbf341138 | [log] [tgz] |
---|---|---|
author | James Farrell <[email protected]> | Wed Aug 07 20:52:44 2024 +0000 |
committer | Automerger Merge Worker <[email protected]> | Wed Aug 07 20:52:44 2024 +0000 |
tree | f038e3b8c693299139a4e19cd731dbc87bb2aa0e | |
parent | 8069b2f1204a9dcc2eb4ac0de6dc0d16e0c8ce6d [diff] | |
parent | 96fa62c5ba21fd10d491fcdcb00e76a457896704 [diff] |
Update Android.bp by running cargo_embargo am: 96fa62c5ba Original change: https://android-review.googlesource.com/c/platform/external/rust/crates/vsock/+/3209216 Change-Id: I15d19a3209851c5b64b0a1b68b5315f530d9bdbc 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