commit | 56520840aee6e9c13df2ada7a5a506d84c4420fe | [log] [tgz] |
---|---|---|
author | Android Build Coastguard Worker <[email protected]> | Tue Sep 10 23:14:10 2024 +0000 |
committer | Android Build Coastguard Worker <[email protected]> | Tue Sep 10 23:14:10 2024 +0000 |
tree | f038e3b8c693299139a4e19cd731dbc87bb2aa0e | |
parent | 3843e4b9ecf8619e487b3752e21572678d8b5789 [diff] | |
parent | 0181b8bc2e1811b3f8f76611c6e2c8ffbf341138 [diff] |
Snap for 12349386 from 0181b8bc2e1811b3f8f76611c6e2c8ffbf341138 to sdk-release Change-Id: If17b99b032708d5468cfb318f591021232fe2cf4
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