Bug: 171249434

Clone this repo:
  1. 339b47b Make crate available to com.android.compos APEX by David Brazdil · 7 weeks ago master
  2. ecf0949 Update to version 0.3.0. by Andrew Walbran · 9 weeks ago
  3. 1f60cbf Merge "Update TEST_MAPPING" am: b2ea104399 am: 9dfb8cb01e by Treehugger Robot · 6 months ago
  4. 9dfb8cb Merge "Update TEST_MAPPING" am: b2ea104399 by Treehugger Robot · 6 months ago
  5. b2ea104 Merge "Update TEST_MAPPING" by Treehugger Robot · 6 months ago


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