commit | 29247806d59f722d151098d71e351be35a94a7a9 | [log] [tgz] |
---|---|---|
author | Xin Li <[email protected]> | Sat Feb 20 00:24:25 2021 -0800 |
committer | Xin Li <[email protected]> | Sat Feb 20 00:24:25 2021 -0800 |
tree | 6568264214021f58808210f4dd283a07bafebfbf | |
parent | 3f64c4481ecb94ef1721927e0f5ad47ae5cc464a [diff] | |
parent | 7633436d8c2cf9b872763fb8c76142b76f5299fc [diff] |
Mark ab/7061308 as merged in stage. Bug: 180401296 Merged-In: I2de4fb370abca62c82e15c9d16a033d904262939 Change-Id: Ia579138de693e2a343e617b052d30aebe6da56ca
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