commit | 2979e202931c6d4e2f0b19e7b0a4916805d8b10d | [log] [tgz] |
---|---|---|
author | Android Build Coastguard Worker <[email protected]> | Mon May 09 06:21:01 2022 +0000 |
committer | Android Build Coastguard Worker <[email protected]> | Mon May 09 06:21:01 2022 +0000 |
tree | 911bb07584e758873118951a14ea4e361198c485 | |
parent | 357563a79d05f0e720738dd713c354674688dc27 [diff] | |
parent | 34c25bb318dc916018e33e50b1fec97323b38532 [diff] |
Snap for 8558685 from 34c25bb318dc916018e33e50b1fec97323b38532 to tm-frc-networking-release Change-Id: Ieebde55b05b70d4f468fe16a404e590bfccb989e
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