commit | 6a0032fd3688808d3c21961afab5298e2bdae7d6 | [log] [tgz] |
---|---|---|
author | Android Build Coastguard Worker <[email protected]> | Tue Mar 22 01:06:30 2022 +0000 |
committer | Android Build Coastguard Worker <[email protected]> | Tue Mar 22 01:06:30 2022 +0000 |
tree | 911bb07584e758873118951a14ea4e361198c485 | |
parent | 5d2652f8e6e61830a9c7bd3756e63fa0d6a5eb18 [diff] | |
parent | 34c25bb318dc916018e33e50b1fec97323b38532 [diff] |
Snap for 8332931 from 34c25bb318dc916018e33e50b1fec97323b38532 to tm-d1-release Change-Id: Ie83d208af11774c371254f4e971a186d11b86d30
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