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