commit | 2000300fe7daa0e0e6100d8b64dea5020079a12d | [log] [tgz] |
---|---|---|
author | android-build-team Robot <[email protected]> | Sun Feb 21 00:06:39 2021 +0000 |
committer | android-build-team Robot <[email protected]> | Sun Feb 21 00:06:39 2021 +0000 |
tree | 6568264214021f58808210f4dd283a07bafebfbf | |
parent | 1c61222b6e9478c96e6da09aa08bac2496f4557d [diff] | |
parent | 0e9b7e636c493c8621fa7522272f5b08452c8771 [diff] |
Snap for 7160059 from 0e9b7e636c493c8621fa7522272f5b08452c8771 to sc-release Change-Id: I5beffead0f9615d3120561ed010c0e97a56b6d7d
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