| commit | f6c99824b316b3ac1b5690be7b1db37cc08b0b9b | [log] [tgz] |
|---|---|---|
| author | Android Build Coastguard Worker <[email protected]> | Thu Apr 28 16:00:56 2022 +0000 |
| committer | Android Build Coastguard Worker <[email protected]> | Thu Apr 28 16:00:56 2022 +0000 |
| tree | 911bb07584e758873118951a14ea4e361198c485 | |
| parent | ab0672be06d2c9f3a7420fd10fff974da1f82278 [diff] | |
| parent | 34c25bb318dc916018e33e50b1fec97323b38532 [diff] |
Snap for 8512216 from 34c25bb318dc916018e33e50b1fec97323b38532 to tm-frc-scheduling-release Change-Id: I99f5e24b0d725b9aa1c7447641a932ba23bf2faa
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