Snap for 7149879 from 268effa8923591e6e7dff8c0b2fabaf088007fa1 to sc-v2-release Change-Id: I29c811f372dcfac8bd7a6cde4a1f89146ef1ffe1
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