commit | 6ac90b176a49eaf304e547ffe605da8bb4e53dad | [log] [tgz] |
---|---|---|
author | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | Thu Nov 11 02:05:23 2021 +0000 |
committer | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | Thu Nov 11 02:05:23 2021 +0000 |
tree | 5ee1a8fe64339ca9dc9be1b169491460b23237fb | |
parent | 1b84c88ba0cf2f0fd02cba72054c4a9288ab55bb [diff] | |
parent | 0904891fa35be20a14de565818561ec76efd3390 [diff] |
Snap for 7904124 from 0904891fa35be20a14de565818561ec76efd3390 to sdk-release Change-Id: I49a5b4bbccd666098a8b83f61a371d7ae01e3a0b
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