commit | 128b22d83579c1f9fbc4e0b108c10bc5a5b03a7d | [log] [tgz] |
---|---|---|
author | Ludovic Barman <ludovicb@google.com> | Fri Dec 08 18:40:02 2023 +0000 |
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | Fri Dec 08 18:40:02 2023 +0000 |
tree | 10214811203f63a511c05bcb831859aa72d904c0 | |
parent | 6e429f260b821e0ac0f062f80666e29f305271d6 [diff] | |
parent | bb91fc7565fbc70378f69eb0a5b22c9d9f47b115 [diff] |
Upgrade vsock to 0.4.0 am: bb91fc7565 Original change: https://android-review.googlesource.com/c/platform/external/rust/crates/vsock/+/2859505 Change-Id: Icc3976639d0f57a9848842f04281620fcc22d0c2 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
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