commit | 6871fdf2ff7decfe496b29d4af5fd08449bcc873 | [log] [tgz] |
---|---|---|
author | Android Build Coastguard Worker <[email protected]> | Fri Mar 10 05:18:24 2023 +0000 |
committer | Android Build Coastguard Worker <[email protected]> | Fri Mar 10 05:18:24 2023 +0000 |
tree | 736fef5accd88a211d1028ae6622451dc45331aa | |
parent | 203f352d1040b83ee7cbe67c1a57ebd479e1b27e [diff] | |
parent | 6a3d1c378b747d0f5f4252cd3e7ae059ad0d4fad [diff] |
Snap for 9722771 from 6a3d1c378b747d0f5f4252cd3e7ae059ad0d4fad to udc-d1-release Change-Id: I11cad51acb09ae7ca82678af824d3837e27584df
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