commit | bb91fc7565fbc70378f69eb0a5b22c9d9f47b115 | [log] [tgz] |
---|---|---|
author | Ludovic Barman <ludovicb@google.com> | Tue Dec 05 12:02:12 2023 +0000 |
committer | Ludovic Barman <ludovicb@google.com> | Tue Dec 05 12:02:13 2023 +0000 |
tree | 10214811203f63a511c05bcb831859aa72d904c0 | |
parent | 18121a02722b3914dae1de17f2fc02f9c23a5e11 [diff] |
Upgrade vsock to 0.4.0 This project was upgraded with external_updater. Usage: tools/external_updater/updater.sh update rust/crates/vsock For more info, check https://cs.android.com/android/platform/superproject/+/main:tools/external_updater/README.md Test: TreeHugger Change-Id: I04aa2155d42a44ab88cbf8e4c69fa165dddee3bf
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