commit | b922a82dacea5287ca8b632ca63afcb112a96c6b | [log] [tgz] |
---|---|---|
author | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | Thu Dec 16 02:07:46 2021 +0000 |
committer | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | Thu Dec 16 02:07:46 2021 +0000 |
tree | 2ccd9749d9200a75c61d8eac6ff497db8edb72a1 | |
parent | 122d29cee353cbcef738abd8c1c7124f5fc45dd4 [diff] | |
parent | ca1ebcc270db869099c84b08e37b55f6587766b7 [diff] |
Snap for 8006021 from ca1ebcc270db869099c84b08e37b55f6587766b7 to tm-release Change-Id: I1bf23c98a6daf350e257f9ce3c453800f4c43389
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