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