commit | 3f7bbb669fb5d3faff9225032e620fed6fc6fb4e | [log] [tgz] |
---|---|---|
author | android-build-team Robot <android-build-team-robot@google.com> | Thu Feb 11 02:05:11 2021 +0000 |
committer | android-build-team Robot <android-build-team-robot@google.com> | Thu Feb 11 02:05:11 2021 +0000 |
tree | f9f41bab9dbe13a435a5b620c904470f1eb9053c | |
parent | 48cf814eaaf6e59462f74651d4b35d6245a43787 [diff] | |
parent | dc078d19f3f3b1235962dcf9f4bd893383f9920a [diff] |
Snap for 7137523 from dc078d19f3f3b1235962dcf9f4bd893383f9920a to sc-d1-release Change-Id: I4e07ea683dcfe1eb49cf1cd3a3d11e68c2174780
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