commit | 8aa2f189cf32cc2760ceb6b4cbd04f8e5adfe34e | [log] [tgz] |
---|---|---|
author | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | Wed Jul 14 03:06:00 2021 +0000 |
committer | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | Wed Jul 14 03:06:00 2021 +0000 |
tree | 5652e8ca213409985e2d1bc9ac57e7931cb87f98 | |
parent | d48c598cf9deb72acd9b8508d28c532a016458fa [diff] | |
parent | 4afc6c100d73907523460ee5da51d82bcaa38bb1 [diff] |
Snap for 7546816 from 4afc6c100d73907523460ee5da51d82bcaa38bb1 to tm-release Change-Id: Ic55832465c7128794691469f384836920ca6fb8e
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