commit | 339b47bec656369992c52a10dd4b2c9226614764 | [log] [tgz] |
---|---|---|
author | David Brazdil <[email protected]> | Tue Oct 18 16:42:43 2022 +0100 |
committer | David Brazdil <[email protected]> | Fri Nov 11 15:34:01 2022 +0000 |
tree | 57ec07b62eec0737b972d188a245046173a40cca | |
parent | ecf0949f477868f24cf522c2f3900d819bfc11dd [diff] |
Make crate available to com.android.compos APEX Bug: 245727626 Test: atest -p packages/modules/Virtualization:avf-presubmit Change-Id: Ib92cfb24b77ff24f0c29a58dde50eed2465b65ed
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