commit | 94162ea46b45fb2c70a045ad1c59b8a800071e87 | [log] [tgz] |
---|---|---|
author | Android Build Coastguard Worker <[email protected]> | Thu Jun 16 22:02:48 2022 +0000 |
committer | Android Build Coastguard Worker <[email protected]> | Thu Jun 16 22:02:48 2022 +0000 |
tree | 911bb07584e758873118951a14ea4e361198c485 | |
parent | 34c25bb318dc916018e33e50b1fec97323b38532 [diff] | |
parent | 10440879cbe2729d42b891e55d52602cc2c4b446 [diff] |
Snap for 8736029 from 10440879cbe2729d42b891e55d52602cc2c4b446 to mainline-go-mediaprovider-release Change-Id: Ia6ccd03cda4ee9e995580699181b5e3fff7a9136
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