commit | bc5a1c46a74c871b18a2ffb9bebe04338fc628e2 | [log] [tgz] |
---|---|---|
author | David LeGare <legare@google.com> | Wed Mar 02 16:21:06 2022 +0000 |
committer | David LeGare <legare@google.com> | Wed Mar 09 17:32:16 2022 +0000 |
tree | 911bb07584e758873118951a14ea4e361198c485 | |
parent | bd8cddb34ead8ac0e436343d2c72ee7bd1337815 [diff] |
Update vsock to 0.2.6 Test: cd external/rust/crates && atest --host -c Change-Id: I7c177a85cfef2cac0a82b939719b69adbc3c053c
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