commit | e24224d055fa016068db4ebd91ea676639b89fe3 | [log] [tgz] |
---|---|---|
author | android-build-team Robot <[email protected]> | Sun Feb 21 02:44:34 2021 +0000 |
committer | Automerger Merge Worker <[email protected]> | Sun Feb 21 02:44:34 2021 +0000 |
tree | 6568264214021f58808210f4dd283a07bafebfbf | |
parent | 0f5c1f2a6f70d16f83ccab5f142bab514d890a48 [diff] | |
parent | 2000300fe7daa0e0e6100d8b64dea5020079a12d [diff] |
Snap for 7160059 from 0e9b7e636c493c8621fa7522272f5b08452c8771 to sc-release am: 2000300fe7 Original change: https://googleplex-android-review.googlesource.com/c/platform/external/rust/crates/vsock/+/13646578 MUST ONLY BE SUBMITTED BY AUTOMERGER Change-Id: Id86f26985e3935c80ed47d7590d9b6860337d8d2
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