commit | d48c598cf9deb72acd9b8508d28c532a016458fa | [log] [tgz] |
---|---|---|
author | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | Wed Jun 23 03:06:11 2021 +0000 |
committer | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | Wed Jun 23 03:06:11 2021 +0000 |
tree | 15bbfbe70c91a997eb107cb06fad964623ab3eb1 | |
parent | a09c46b3c3d88ed07eeb43ed999f75c2529e2a78 [diff] | |
parent | e240b049eb862b60b2218ec31c71b3cbce840776 [diff] |
Snap for 7482983 from e240b049eb862b60b2218ec31c71b3cbce840776 to tm-release Change-Id: I52dbf5de7b88071b0782b4b0bf784de5b67e7156
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