commit | 7136148b3c2a2e153ad6d1eab41ed417454b936d | [log] [tgz] |
---|---|---|
author | Android Build Coastguard Worker <[email protected]> | Fri Apr 21 19:49:00 2023 +0000 |
committer | Android Build Coastguard Worker <[email protected]> | Fri Apr 21 19:49:00 2023 +0000 |
tree | 736fef5accd88a211d1028ae6622451dc45331aa | |
parent | be3537d7a770e8a5b508ce47fa5ebea082766038 [diff] | |
parent | 9702e5b070d5640fd4534633f1485bc2c589a196 [diff] |
Snap for 9989322 from 9702e5b070d5640fd4534633f1485bc2c589a196 to mainline-rkpd-release Change-Id: I4d3af6194006c9095c7b0ceb4817ff7f33fcf202
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