commit | c21c448cce3f6f0ca500247828c2f822c2c9c84f | [log] [tgz] |
---|---|---|
author | Android Build Coastguard Worker <[email protected]> | Wed Nov 15 00:14:51 2023 +0000 |
committer | Android Build Coastguard Worker <[email protected]> | Wed Nov 15 00:14:51 2023 +0000 |
tree | b6d0f4c8937ec6033eb54e90d41aeae760b39505 | |
parent | 082c33ee342e58d18c931b7fba8fec790e3559d0 [diff] | |
parent | df96a99108387cf94272a52403516ea36fbe93e1 [diff] |
Snap for 11097608 from df96a99108387cf94272a52403516ea36fbe93e1 to 24Q1-release Change-Id: I0744a71ffaf26e0f9019315401a69fe6b1f6bcec
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