commit | 2f4a0c9c30078e3075b81a0296a97b911c26840e | [log] [tgz] |
---|---|---|
author | android-build-team Robot <[email protected]> | Sun Feb 21 00:05:52 2021 +0000 |
committer | android-build-team Robot <[email protected]> | Sun Feb 21 00:05:52 2021 +0000 |
tree | 6568264214021f58808210f4dd283a07bafebfbf | |
parent | de3c24a1493ccc5863019f160f5513e13d70d00e [diff] | |
parent | 0e9b7e636c493c8621fa7522272f5b08452c8771 [diff] |
Snap for 7160059 from 0e9b7e636c493c8621fa7522272f5b08452c8771 to sc-d1-release Change-Id: Ie90d51b152fb2e474a19d3625b02ff35875cd027
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