commit | 111205c5e9c13915e6b83c718ea720275dd85d5a | [log] [tgz] |
---|---|---|
author | Android Build Coastguard Worker <[email protected]> | Mon Apr 04 10:39:01 2022 +0000 |
committer | Android Build Coastguard Worker <[email protected]> | Mon Apr 04 10:39:01 2022 +0000 |
tree | 911bb07584e758873118951a14ea4e361198c485 | |
parent | ca1ebcc270db869099c84b08e37b55f6587766b7 [diff] | |
parent | 10440879cbe2729d42b891e55d52602cc2c4b446 [diff] |
Snap for 8401988 from 10440879cbe2729d42b891e55d52602cc2c4b446 to mainline-adservices-release Change-Id: I9934694dba76aedb1ac336388e498ea4535af1d7
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