commit | 84e4c5cc24920dee12f8d6d21363948f91be9e5f | [log] [tgz] |
---|---|---|
author | Bob Badour <[email protected]> | Fri Feb 12 19:53:02 2021 -0800 |
committer | Bob Badour <[email protected]> | Fri Feb 12 19:53:02 2021 -0800 |
tree | 6568264214021f58808210f4dd283a07bafebfbf | |
parent | efd766e4f6509a71dc88162251d17381dba22a88 [diff] |
[LSC] Add LOCAL_LICENSE_KINDS to external/rust/crates/vsock Added SPDX-license-identifier-Apache-2.0 to: Android.bp Bug: 68860345 Bug: 151177513 Bug: 151953481 Test: m all Exempt-From-Owner-Approval: janitorial work Change-Id: I5bf22a6aa64c256fd593fede9de7f5445c52eb10
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