commit | 1c61222b6e9478c96e6da09aa08bac2496f4557d | [log] [tgz] |
---|---|---|
author | android-build-team Robot <[email protected]> | Wed Feb 17 03:17:27 2021 +0000 |
committer | android-build-team Robot <[email protected]> | Wed Feb 17 03:17:27 2021 +0000 |
tree | 6568264214021f58808210f4dd283a07bafebfbf | |
parent | 7d1d4f6526b6890033c37948ca0b1480459305cb [diff] | |
parent | 268effa8923591e6e7dff8c0b2fabaf088007fa1 [diff] |
Snap for 7149879 from 268effa8923591e6e7dff8c0b2fabaf088007fa1 to sc-release Change-Id: I120aeb6999c859f25cc468bf5f2917a4b1e8c429
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