commit | 6fdfe7801d648d414e2accb9392fee228cc5b7f1 | [log] [tgz] |
---|---|---|
author | Android Build Coastguard Worker <[email protected]> | Wed Feb 16 08:12:40 2022 +0000 |
committer | Android Build Coastguard Worker <[email protected]> | Wed Feb 16 08:12:40 2022 +0000 |
tree | 6568264214021f58808210f4dd283a07bafebfbf | |
parent | ca1ebcc270db869099c84b08e37b55f6587766b7 [diff] | |
parent | d20063e65cebf5d8014d1b311e996e4426805d20 [diff] |
Snap for 8189365 from d20063e65cebf5d8014d1b311e996e4426805d20 to tm-frc-permission-release Change-Id: I4abd5ec6edb128c360cd80f14c8731fc909bc40a
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