aml_art_341514450 (11720836,com.google.android.art,com.google.android.go.art)
Snap for 10453563 from 13c9ba703b10052628884ae3f02240c5c51180d1 to mainline-art-release

Change-Id: I85e8761d0fb9fc7bd0120ab87c7b79d121fa6540
tree: 736fef5accd88a211d1028ae6622451dc45331aa
  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. cargo2android.json
  11. LICENSE
  12. Makefile
  13. METADATA
  14. MODULE_LICENSE_APACHE2
  15. OWNERS
  16. README.md
  17. TEST_MAPPING
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