commit | a5b2c93669e788e5b6f6c09915ebabee5b2683e8 | [log] [tgz] |
---|---|---|
author | android-build-team Robot <android-build-team-robot@google.com> | Thu Feb 11 02:06:13 2021 +0000 |
committer | android-build-team Robot <android-build-team-robot@google.com> | Thu Feb 11 02:06:13 2021 +0000 |
tree | f9f41bab9dbe13a435a5b620c904470f1eb9053c | |
parent | fbd38b1c9e792feb24275b115ca97e7ef8cb5aad [diff] | |
parent | dc078d19f3f3b1235962dcf9f4bd893383f9920a [diff] |
Snap for 7137523 from dc078d19f3f3b1235962dcf9f4bd893383f9920a to sc-v2-release Change-Id: I36c0140306c45264ff3bc69a634a3e203e5ddafa
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