commit | 1c6bfdd93d5b0223fd64c5fb6b8035badd4eca50 | [log] [tgz] |
---|---|---|
author | Matt Lee <matthewhlee@google.com> | Tue Dec 06 21:36:46 2022 -0800 |
committer | Matt Lee <matthewhlee@google.com> | Tue Dec 06 21:36:46 2022 -0800 |
tree | 911bb07584e758873118951a14ea4e361198c485 | |
parent | 02f028143a52232cb1c488374b2d726a39dc08f3 [diff] | |
parent | 4f1be962bed23c05b1df8bf84478eac18ecbe050 [diff] |
Merge t-qpr-2022-12 Change-Id: I1277bdf91cc45c13932dad4d1209f0e2e7310983
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