commit | 6843e5944a90405fd1f0dfbe02c0b3e493e14701 | [log] [tgz] |
---|---|---|
author | Android Build Coastguard Worker <[email protected]> | Thu Feb 17 02:58:36 2022 +0000 |
committer | Android Build Coastguard Worker <[email protected]> | Thu Feb 17 02:58:36 2022 +0000 |
tree | 2ccd9749d9200a75c61d8eac6ff497db8edb72a1 | |
parent | c725c522432d28a55cbe7ccf68e525b306d0c5a8 [diff] | |
parent | ca1ebcc270db869099c84b08e37b55f6587766b7 [diff] |
Snap for 8191477 from ca1ebcc270db869099c84b08e37b55f6587766b7 to tm-frc-media-swcodec-release Change-Id: Id77f28aaaa0915221ed25764fd7c670be8fc33d0
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