commit | 97d6681a4d123a9d56b1fcf23e4f55339cb75645 | [log] [tgz] |
---|---|---|
author | Xin Li <[email protected]> | Wed Nov 17 20:19:47 2021 +0000 |
committer | Automerger Merge Worker <[email protected]> | Wed Nov 17 20:19:47 2021 +0000 |
tree | 5ee1a8fe64339ca9dc9be1b169491460b23237fb | |
parent | c5700a29c89c9c44dad5b5126a6f8a5ec1156df5 [diff] | |
parent | 63ca3f9780204b5fe1a92d5c3750648934079bab [diff] |
[automerger skipped] Merge sc-qpr1-dev-plus-aosp-without-vendor@7810918 am: 79fd00fce0 -s ours am: 9b67d0dafd -s ours am: 63ca3f9780 -s ours am skip reason: Merged-In I3c2e54dbcdbe3a99017ad31bfc4e76984335b330 with SHA-1 e49a692386 is already in history Original change: https://googleplex-android-review.googlesource.com/c/platform/external/rust/crates/vsock/+/16279007 Change-Id: I398d58aeef86c81e8c404564c6a42fb5b411313e
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