commit | cde3beabfab1f323c0b2cb8f507c62af58c5094e | [log] [tgz] |
---|---|---|
author | Android Build Coastguard Worker <[email protected]> | Tue May 10 07:10:34 2022 +0000 |
committer | Android Build Coastguard Worker <[email protected]> | Tue May 10 07:10:34 2022 +0000 |
tree | 911bb07584e758873118951a14ea4e361198c485 | |
parent | d20063e65cebf5d8014d1b311e996e4426805d20 [diff] | |
parent | 10440879cbe2729d42b891e55d52602cc2c4b446 [diff] |
Snap for 8564071 from 10440879cbe2729d42b891e55d52602cc2c4b446 to mainline-tethering-release Change-Id: Ic6b0d92d08a7f899802ee8f3df5bd378939fe871
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