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