commit | 4dd387ad545c1422ce01969826a9dec776928ce1 | [log] [tgz] |
---|---|---|
author | Android Build Coastguard Worker <[email protected]> | Sat Dec 16 02:14:27 2023 +0000 |
committer | Android Build Coastguard Worker <[email protected]> | Sat Dec 16 02:14:27 2023 +0000 |
tree | 10214811203f63a511c05bcb831859aa72d904c0 | |
parent | df96a99108387cf94272a52403516ea36fbe93e1 [diff] | |
parent | 0cdbb732194e9004afff20569443f02ab67d754f [diff] |
Snap for 11227258 from 0cdbb732194e9004afff20569443f02ab67d754f to 24Q2-release Change-Id: Id475601cece10da08b5c4acccb1cbb250a26914f
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