commit | 4d3f89143351be97ce52f26e6440bd8fdb6f797d | [log] [tgz] |
---|---|---|
author | Joel Galenson <[email protected]> | Wed Dec 15 16:43:34 2021 +0000 |
committer | Automerger Merge Worker <[email protected]> | Wed Dec 15 16:43:34 2021 +0000 |
tree | 2ccd9749d9200a75c61d8eac6ff497db8edb72a1 | |
parent | 9b67d0dafd055fee339970f486cb5a5de1a39739 [diff] | |
parent | 2b850fd536444fd21ed26c666c92256e547b36d8 [diff] |
Merge "Refresh Android.bp, cargo2android.json, TEST_MAPPING." am: a5341a6140 am: 2b850fd536 Original change: https://android-review.googlesource.com/c/platform/external/rust/crates/vsock/+/1912872 Change-Id: I6935d4e4dc795d43cb3df55de10f622e84fb7100
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