commit | fbe26d8f72c83dc9fe72a60dfa0500a73ae994fd | [log] [tgz] |
---|---|---|
author | android-build-team Robot <[email protected]> | Sun Feb 21 00:06:19 2021 +0000 |
committer | android-build-team Robot <[email protected]> | Sun Feb 21 00:06:19 2021 +0000 |
tree | 6568264214021f58808210f4dd283a07bafebfbf | |
parent | 12af9b6c945a69317d31cb906516a200bc060d03 [diff] | |
parent | 0e9b7e636c493c8621fa7522272f5b08452c8771 [diff] |
Snap for 7160059 from 0e9b7e636c493c8621fa7522272f5b08452c8771 to sc-v2-release Change-Id: Id54c9818b8c6e5477b9bc3f4cf1706fa7544e409
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