commit | 416355446c4bcda56483d3b65ccada36a1f0d722 | [log] [tgz] |
---|---|---|
author | James Farrell <[email protected]> | Wed May 22 23:33:35 2024 +0000 |
committer | Automerger Merge Worker <[email protected]> | Wed May 22 23:33:35 2024 +0000 |
tree | 0bd6938ee342740b8846ce0a0e6d126081ba46f1 | |
parent | 22854c6424fb5eb334ae6a04248d1709ba0699ad [diff] | |
parent | 061a818325ec207a4c487b7376a64a0c531e7237 [diff] |
Update Android.bp by running cargo_embargo am: c4e3d93d63 am: 061a818325 Original change: https://android-review.googlesource.com/c/platform/external/rust/crates/vsock/+/3096457 Change-Id: I5a001a0d2ec70e70f8959f39da8ff3f895661e89 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