commit | 4f1be962bed23c05b1df8bf84478eac18ecbe050 | [log] [tgz] |
---|---|---|
author | Android Build Coastguard Worker <[email protected]> | Tue Nov 01 21:34:53 2022 +0000 |
committer | Android Build Coastguard Worker <[email protected]> | Tue Nov 01 21:34:53 2022 +0000 |
tree | 911bb07584e758873118951a14ea4e361198c485 | |
parent | 01acd86b98ab66b191ad6d485c37140f86e15c15 [diff] | |
parent | 062f4e2688b4259d6c85ce25669b44ecc3377575 [diff] |
Snap for 9239618 from 062f4e2688b4259d6c85ce25669b44ecc3377575 to tm-platform-release Change-Id: I26e74f34b912b7e5816c28fd4f836f760070abf3
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