commit | 9e6fe586d8336735c8c686390331c09a23d240e7 | [log] [tgz] |
---|---|---|
author | Andrew Walbran <[email protected]> | Fri Oct 23 13:21:11 2020 +0000 |
committer | Automerger Merge Worker <[email protected]> | Fri Oct 23 13:21:11 2020 +0000 |
tree | 42dafdc8ac23493aa189bbf8a0de6dd233e5a9f4 | |
parent | 36c28ee478d2408f6aeab04a9ba2cc3a5d4e06f8 [diff] | |
parent | 7aa46c198733e9b6d44068464b31c6af1f846dbb [diff] |
Import vsock crate. am: 641348654d am: 7aa46c1987 Original change: https://android-review.googlesource.com/c/platform/external/rust/crates/vsock/+/1466266 Change-Id: Idb927efc17a2b5da92d2accf99533648aa874ea3
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