commit | d5d17b6de7ed7de2ffb59b62c669d9f224700e41 | [log] [tgz] |
---|---|---|
author | Android Build Coastguard Worker <[email protected]> | Fri Jul 07 01:21:27 2023 +0000 |
committer | Android Build Coastguard Worker <[email protected]> | Fri Jul 07 01:21:27 2023 +0000 |
tree | 736fef5accd88a211d1028ae6622451dc45331aa | |
parent | 4a95ff723b2ca37be33782e8dfdb3bb7f0922861 [diff] | |
parent | 13c9ba703b10052628884ae3f02240c5c51180d1 [diff] |
Snap for 10447354 from 13c9ba703b10052628884ae3f02240c5c51180d1 to mainline-networking-release Change-Id: I278496ec60425955022d76e19408a61ddd2d987a
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