commit | 9e0b9fad63488798501fb6db76cdc7627f0c747b | [log] [tgz] |
---|---|---|
author | Android Build Coastguard Worker <[email protected]> | Fri Mar 25 12:33:11 2022 +0000 |
committer | Android Build Coastguard Worker <[email protected]> | Fri Mar 25 12:33:11 2022 +0000 |
tree | 911bb07584e758873118951a14ea4e361198c485 | |
parent | 889ad31da291b3e6767ab87a1ebc81cf41a48a03 [diff] | |
parent | 34c25bb318dc916018e33e50b1fec97323b38532 [diff] |
Snap for 8358640 from 34c25bb318dc916018e33e50b1fec97323b38532 to mainline-go-media-release Change-Id: I4e2bc42cf1360924f4e7fa89076daf0995ce9f4e
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