commit | 5880651a53cf00c707877ccfd242149b5d4b4723 | [log] [tgz] |
---|---|---|
author | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | Mon Dec 20 11:05:32 2021 +0000 |
committer | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | Mon Dec 20 11:05:32 2021 +0000 |
tree | 6568264214021f58808210f4dd283a07bafebfbf | |
parent | 5ba4d0beb216f58f338115e2b2bf88685c1f43ef [diff] | |
parent | e1d1d4691958e509a52fb0cf9bf570deaf87575b [diff] |
Snap for 8014993 from e1d1d4691958e509a52fb0cf9bf570deaf87575b to s-keystone-qcom-release Change-Id: I6abe6dfb8e69fc1053f00fa89f6c1e5f2f82cb03
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