commit | 2b850fd536444fd21ed26c666c92256e547b36d8 | [log] [tgz] |
---|---|---|
author | Joel Galenson <jgalenson@google.com> | Wed Dec 15 16:04:17 2021 +0000 |
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | Wed Dec 15 16:04:17 2021 +0000 |
tree | 2ccd9749d9200a75c61d8eac6ff497db8edb72a1 | |
parent | 79fd00fce019a40e2b6e57262630ce7672de4e75 [diff] | |
parent | a5341a6140f485bdd0a436e1aa4bf610cfd869a1 [diff] |
Merge "Refresh Android.bp, cargo2android.json, TEST_MAPPING." am: a5341a6140 Original change: https://android-review.googlesource.com/c/platform/external/rust/crates/vsock/+/1912872 Change-Id: I50dffcbb28155b86cf26147159e35b0f99438455
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