commit | 627efc0bb9f5766381a3866784891bccc12cad44 | [log] [tgz] |
---|---|---|
author | Jiyong Park <[email protected]> | Mon Jul 12 17:50:49 2021 +0000 |
committer | Automerger Merge Worker <[email protected]> | Mon Jul 12 17:50:49 2021 +0000 |
tree | 5652e8ca213409985e2d1bc9ac57e7931cb87f98 | |
parent | 7f10f0b79fed3a4489abe3407fc9508bc9e2f692 [diff] | |
parent | 31ae081f412f72b17d08d47447b8a7ef60246865 [diff] |
Make libvsock available to the virt APEX am: d8fb876292 am: 94cf58be9b am: 31ae081f41 Original change: https://android-review.googlesource.com/c/platform/external/rust/crates/vsock/+/1762386 Change-Id: I04a39bb8d351f393809bfccb1c978741f6044111
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