commit | a5341a6140f485bdd0a436e1aa4bf610cfd869a1 | [log] [tgz] |
---|---|---|
author | Joel Galenson <jgalenson@google.com> | Wed Dec 15 15:28:00 2021 +0000 |
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | Wed Dec 15 15:28:00 2021 +0000 |
tree | 2ccd9749d9200a75c61d8eac6ff497db8edb72a1 | |
parent | 79fd00fce019a40e2b6e57262630ce7672de4e75 [diff] | |
parent | 91d7d38ec70f124aff6f14f70df26d43ca91a9fe [diff] |
Merge "Refresh Android.bp, cargo2android.json, TEST_MAPPING."
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