Android Mainline 12.0.0 Release 114 (8445382,com.google.android.wifi)
[automerger skipped] Mark ab/7061308 as merged in stage. am: 29247806d5 -s ours am: ca3e44dea6 -s ours am: 0e9b7e636c -s ours

am skip reason: Change-Id I2de4fb370abca62c82e15c9d16a033d904262939 with SHA-1 7633436d8c is in history

Original change: undetermined

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: If983b5e8e35fc4de1abc334b65df10c630145fad
tree: 6568264214021f58808210f4dd283a07bafebfbf
  1. .cargo/
  2. .github/
  3. src/
  4. tests/
  5. .cargo_vcs_info.json
  6. .gitignore
  7. Android.bp
  8. Cargo.toml
  9. Cargo.toml.orig
  10. LICENSE
  11. Makefile
  12. METADATA
  13. MODULE_LICENSE_APACHE2
  14. OWNERS
  15. README.android
  16. README.md
README.md

vsock-rs

Virtio socket support for Rust. Implements VsockListener and VsockStream which are analogous to the std::net::TcpListener and std::net::TcpStream types.

Usage

Refer to the crate documentation.

Testing

Prerequisites

You will need a recent qemu-system-x86_64 build in your path.

Host

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

Tests

Run the test suite with:

make check