commit | d16802f2d693d1dca3d6f4f78e555ebb6222f8dc | [log] [tgz] |
---|---|---|
author | Android Build Coastguard Worker <[email protected]> | Fri Mar 10 02:23:02 2023 +0000 |
committer | Android Build Coastguard Worker <[email protected]> | Fri Mar 10 02:23:02 2023 +0000 |
tree | 736fef5accd88a211d1028ae6622451dc45331aa | |
parent | d310256fe4d30cee591647798c34111a60b861aa [diff] | |
parent | 9702e5b070d5640fd4534633f1485bc2c589a196 [diff] |
Snap for 9719949 from 9702e5b070d5640fd4534633f1485bc2c589a196 to udc-release Change-Id: I76b0ec58921ef7cabca544490eaaca8562a8a332
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