commit | 3275f6649aa6936a5cc1137671a65636ee1b9b12 | [log] [tgz] |
---|---|---|
author | Android Build Coastguard Worker <[email protected]> | Fri Jul 07 01:05:04 2023 +0000 |
committer | Android Build Coastguard Worker <[email protected]> | Fri Jul 07 01:05:04 2023 +0000 |
tree | 736fef5accd88a211d1028ae6622451dc45331aa | |
parent | a882bc80c28626eda5cf1bce67eb8c5428a5260d [diff] | |
parent | 13c9ba703b10052628884ae3f02240c5c51180d1 [diff] |
Snap for 10447354 from 13c9ba703b10052628884ae3f02240c5c51180d1 to mainline-resolv-release Change-Id: I24de7a42a9919f8e27c1cdc34f65e835babf8311
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