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