commit | 7385e587426ebeef7f9aaf7a9e0e2ee9e243b9b0 | [log] [tgz] |
---|---|---|
author | Android Build Coastguard Worker <[email protected]> | Tue Nov 14 02:14:34 2023 +0000 |
committer | Android Build Coastguard Worker <[email protected]> | Tue Nov 14 02:14:34 2023 +0000 |
tree | b6d0f4c8937ec6033eb54e90d41aeae760b39505 | |
parent | 082c33ee342e58d18c931b7fba8fec790e3559d0 [diff] | |
parent | df96a99108387cf94272a52403516ea36fbe93e1 [diff] |
Snap for 11091797 from df96a99108387cf94272a52403516ea36fbe93e1 to 24D1-release Change-Id: I6982fbe2adc81af1fdd4010f5b94e8de4283edf0
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