commit | 6d3814565662d426844b632ec885bd58715ed11e | [log] [tgz] |
---|---|---|
author | Android Build Coastguard Worker <[email protected]> | Wed Apr 06 20:37:42 2022 +0000 |
committer | Android Build Coastguard Worker <[email protected]> | Wed Apr 06 20:37:42 2022 +0000 |
tree | 911bb07584e758873118951a14ea4e361198c485 | |
parent | ca1ebcc270db869099c84b08e37b55f6587766b7 [diff] | |
parent | 34c25bb318dc916018e33e50b1fec97323b38532 [diff] |
Snap for 8414339 from 34c25bb318dc916018e33e50b1fec97323b38532 to tm-qpr1-release Change-Id: Icf404b28fc3515b6686fe81ee7e97c51aca9915e
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