commit | 48cf814eaaf6e59462f74651d4b35d6245a43787 | [log] [tgz] |
---|---|---|
author | android-build-team Robot <android-build-team-robot@google.com> | Thu Oct 29 03:16:57 2020 +0000 |
committer | android-build-team Robot <android-build-team-robot@google.com> | Thu Oct 29 03:16:57 2020 +0000 |
tree | 6ba864dd6c47625a0ee8d6539e297053f357e64b | |
parent | 076f7945f904b216b67c6c6b3d20359d3fe93e35 [diff] | |
parent | b04b600138b107c45b0b521f8fba344ebabf9a8b [diff] |
Snap for 6937858 from b04b600138b107c45b0b521f8fba344ebabf9a8b to sc-d1-release Change-Id: I103eadd0921c4c9b491ee47dbf7f8aa7a452f02c
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