commit | d188654628a2e09b79999544b17435b13cd67f34 | [log] [tgz] |
---|---|---|
author | Android Build Coastguard Worker <[email protected]> | Fri Jul 07 05:26:18 2023 +0000 |
committer | Android Build Coastguard Worker <[email protected]> | Fri Jul 07 05:26:18 2023 +0000 |
tree | 736fef5accd88a211d1028ae6622451dc45331aa | |
parent | 7136148b3c2a2e153ad6d1eab41ed417454b936d [diff] | |
parent | 13c9ba703b10052628884ae3f02240c5c51180d1 [diff] |
Snap for 10453563 from 13c9ba703b10052628884ae3f02240c5c51180d1 to mainline-rkpd-release Change-Id: If7fd3fb4497744b9a148a654ffa449e0f31b4594
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