Upgrade rust/crates/vsock to 0.2.4 am: 38fd0f8001 am: cfac69e54f am: 1311318f5c Original change: https://android-review.googlesource.com/c/platform/external/rust/crates/vsock/+/1742640 Change-Id: I7edbb6e0662b177c26262e271ff6f23ff78c0939
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