commit | 24d441b190f61536279d383de2e3ce8894e10932 | [log] [tgz] |
---|---|---|
author | android-build-team Robot <android-build-team-robot@google.com> | Thu Feb 11 04:05:25 2021 +0000 |
committer | android-build-team Robot <android-build-team-robot@google.com> | Thu Feb 11 04:05:25 2021 +0000 |
tree | f9f41bab9dbe13a435a5b620c904470f1eb9053c | |
parent | fbd38b1c9e792feb24275b115ca97e7ef8cb5aad [diff] | |
parent | 07a9688d6b2103c094382904309f70284557bc76 [diff] |
Snap for 7137524 from 07a9688d6b2103c094382904309f70284557bc76 to tm-release Change-Id: I0c57fc398a27009d282df573e0894c064e7f5b02
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