commit | 3631fd097c8fe5b020a8742b1fc5b59679459dc2 | [log] [tgz] |
---|---|---|
author | Android Build Coastguard Worker <[email protected]> | Thu Apr 11 23:15:59 2024 +0000 |
committer | Android Build Coastguard Worker <[email protected]> | Thu Apr 11 23:15:59 2024 +0000 |
tree | b4e79f6cab34f0ec45956e672f00d96e4df68cf8 | |
parent | 0cdbb732194e9004afff20569443f02ab67d754f [diff] | |
parent | 22854c6424fb5eb334ae6a04248d1709ba0699ad [diff] |
Snap for 11704135 from 22854c6424fb5eb334ae6a04248d1709ba0699ad to 24Q3-release Change-Id: I7b9545aee87c5962fa7612214fdfafcc08d86923
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