commit | 7d1d4f6526b6890033c37948ca0b1480459305cb | [log] [tgz] |
---|---|---|
author | android-build-team Robot <[email protected]> | Thu Feb 11 02:05:50 2021 +0000 |
committer | android-build-team Robot <[email protected]> | Thu Feb 11 02:05:50 2021 +0000 |
tree | f9f41bab9dbe13a435a5b620c904470f1eb9053c | |
parent | 305d5ef3f7fd038fac7b04b183048c349b406fd5 [diff] | |
parent | dc078d19f3f3b1235962dcf9f4bd893383f9920a [diff] |
Snap for 7137523 from dc078d19f3f3b1235962dcf9f4bd893383f9920a to sc-release Change-Id: I1c4bf3bf1ce4c122297254a943ca57e59ddb3530
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