commit | d310256fe4d30cee591647798c34111a60b861aa | [log] [tgz] |
---|---|---|
author | Android Build Coastguard Worker <[email protected]> | Thu Feb 02 02:30:35 2023 +0000 |
committer | Android Build Coastguard Worker <[email protected]> | Thu Feb 02 02:30:35 2023 +0000 |
tree | a1d29f0591d91b54def1f7cc40b3359e99e55d14 | |
parent | e46ec23e272d684ab3f10dbcdf498dafa3b88d32 [diff] | |
parent | be3537d7a770e8a5b508ce47fa5ebea082766038 [diff] |
Snap for 9552483 from be3537d7a770e8a5b508ce47fa5ebea082766038 to udc-release Change-Id: I2d45e4fdb9d2a43ca3d3705dce385f4f0a251c17
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