| commit | 062f4e2688b4259d6c85ce25669b44ecc3377575 | [log] [tgz] |
|---|---|---|
| author | Yimin Li <[email protected]> | Fri Oct 21 20:58:09 2022 -0700 |
| committer | Yimin Li <[email protected]> | Fri Oct 21 20:58:09 2022 -0700 |
| tree | 911bb07584e758873118951a14ea4e361198c485 | |
| parent | 01acd86b98ab66b191ad6d485c37140f86e15c15 [diff] | |
| parent | 6d3814565662d426844b632ec885bd58715ed11e [diff] |
Merge commit '6d3814565662d426844b632ec885bd58715ed11e' of sso://googleplex-android/platform/external/rust/crates/vsock into HEAD Change-Id: I6dc4385789751994fb1bdea2e75a0775dc67def1
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