commit | 3b92b77bc82117413bcf3e71a6eb1ca505848039 | [log] [tgz] |
---|---|---|
author | Android Build Coastguard Worker <[email protected]> | Fri Jul 07 05:00:47 2023 +0000 |
committer | Android Build Coastguard Worker <[email protected]> | Fri Jul 07 05:00:47 2023 +0000 |
tree | 736fef5accd88a211d1028ae6622451dc45331aa | |
parent | 33f3bfc2127e2d977da64620b5e576ea6c7bbf3e [diff] | |
parent | 13c9ba703b10052628884ae3f02240c5c51180d1 [diff] |
Snap for 10453563 from 13c9ba703b10052628884ae3f02240c5c51180d1 to mainline-mediaprovider-release Change-Id: Ifc927f8d16a05ed8af547f7fb2ffbebeec2f7c52
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