commit | ac0095a5b5abbf51cc003454651cc7d32996cd61 | [log] [tgz] |
---|---|---|
author | Andrew Walbran <qwandor@google.com> | Fri Oct 23 14:19:39 2020 +0000 |
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | Fri Oct 23 14:19:39 2020 +0000 |
tree | 42dafdc8ac23493aa189bbf8a0de6dd233e5a9f4 | |
parent | 36c28ee478d2408f6aeab04a9ba2cc3a5d4e06f8 [diff] | |
parent | cf9e33f54e411b0dfbddf184446c6900de6e02ee [diff] |
Import vsock crate. am: 641348654d am: 7aa46c1987 am: 9e6fe586d8 am: cf9e33f54e Original change: https://android-review.googlesource.com/c/platform/external/rust/crates/vsock/+/1466266 Change-Id: I5bded9aedbb0149f807c004b7e63a00210bda9de
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