commit | a09c46b3c3d88ed07eeb43ed999f75c2529e2a78 | [log] [tgz] |
---|---|---|
author | android-build-team Robot <android-build-team-robot@google.com> | Thu Jun 03 03:05:58 2021 +0000 |
committer | android-build-team Robot <android-build-team-robot@google.com> | Thu Jun 03 03:05:58 2021 +0000 |
tree | 6568264214021f58808210f4dd283a07bafebfbf | |
parent | b4fa81d65c150b1ff047cd648e9d29a58e72c622 [diff] | |
parent | c9c02ffcd6790ae9c3d083e5146e6d917a0efca5 [diff] |
Snap for 7418644 from c9c02ffcd6790ae9c3d083e5146e6d917a0efca5 to tm-release Change-Id: I5e526bc37f77c8366a33e9472b4424cd828984ad
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