commit | d8fb876292662691f2c8b990c7b3e079177de98b | [log] [tgz] |
---|---|---|
author | Jiyong Park <[email protected]> | Fri Jul 09 18:26:50 2021 +0900 |
committer | Jiyong Park <[email protected]> | Tue Jul 13 00:57:14 2021 +0900 |
tree | 5652e8ca213409985e2d1bc9ac57e7931cb87f98 | |
parent | 38fd0f8001cceea88b879e52213f3f1a1033098f [diff] |
Make libvsock available to the virt APEX The library is used by virtualizationservice Bug: 192904048 Test: m com.android.virt Change-Id: Ifadc3319d1c8ce736b406faca3ba7d5491684b4d
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