commit | de3c24a1493ccc5863019f160f5513e13d70d00e | [log] [tgz] |
---|---|---|
author | android-build-team Robot <android-build-team-robot@google.com> | Wed Feb 17 03:17:14 2021 +0000 |
committer | android-build-team Robot <android-build-team-robot@google.com> | Wed Feb 17 03:17:14 2021 +0000 |
tree | 6568264214021f58808210f4dd283a07bafebfbf | |
parent | 3f7bbb669fb5d3faff9225032e620fed6fc6fb4e [diff] | |
parent | 268effa8923591e6e7dff8c0b2fabaf088007fa1 [diff] |
Snap for 7149879 from 268effa8923591e6e7dff8c0b2fabaf088007fa1 to sc-d1-release Change-Id: I9dfbfef9243298d1b398adac11530aa54945a6cd
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