commit | 203f352d1040b83ee7cbe67c1a57ebd479e1b27e | [log] [tgz] |
---|---|---|
author | Android Build Coastguard Worker <[email protected]> | Thu Feb 02 05:17:49 2023 +0000 |
committer | Android Build Coastguard Worker <[email protected]> | Thu Feb 02 05:17:49 2023 +0000 |
tree | a1d29f0591d91b54def1f7cc40b3359e99e55d14 | |
parent | 8b541ef0042334a9abe0c905628125d855294455 [diff] | |
parent | d310256fe4d30cee591647798c34111a60b861aa [diff] |
Snap for 9553927 from d310256fe4d30cee591647798c34111a60b861aa to udc-d1-release Change-Id: Iab7e0fbc1bda7fe0fd40ee6a755571c3678053cb
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