commit | 10965534ed3bc55fedb47fd2fa3aa45391ba68fb | [log] [tgz] |
---|---|---|
author | Android Build Coastguard Worker <[email protected]> | Sun Mar 27 09:05:25 2022 +0000 |
committer | Android Build Coastguard Worker <[email protected]> | Sun Mar 27 09:05:25 2022 +0000 |
tree | 911bb07584e758873118951a14ea4e361198c485 | |
parent | 4f6d5c7bcbb7cf0572819f6e12039fbda55ef3fc [diff] | |
parent | bc5a1c46a74c871b18a2ffb9bebe04338fc628e2 [diff] |
Snap for 8364388 from bc5a1c46a74c871b18a2ffb9bebe04338fc628e2 to main-cg-testing-release Change-Id: Ib4d660ec4861922e11c136df34488f00e926efc2
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