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