commit | c0434b7b6cddc33edc7758a41c0e1223a04778a5 | [log] [tgz] |
---|---|---|
author | Android Build Coastguard Worker <[email protected]> | Thu Aug 08 01:15:20 2024 +0000 |
committer | Android Build Coastguard Worker <[email protected]> | Thu Aug 08 01:15:20 2024 +0000 |
tree | f038e3b8c693299139a4e19cd731dbc87bb2aa0e | |
parent | cad374ef918462d24fd473c44dcec0341f91f87c [diff] | |
parent | 15ed7fdd604ad542f3a5688a28d12ef753bc6f2e [diff] |
Snap for 12199973 from 15ed7fdd604ad542f3a5688a28d12ef753bc6f2e to 24Q4-release Change-Id: I705cf69d43dc116d427ba9a7ce4c19c368b62255
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