commit | b0ed37f95d4949c55aa5eec54279b64d8c22613c | [log] [tgz] |
---|---|---|
author | Matthew Maurer <[email protected]> | Tue Mar 07 17:25:09 2023 -0800 |
committer | Matthew Maurer <[email protected]> | Tue Mar 07 17:25:09 2023 -0800 |
tree | 736fef5accd88a211d1028ae6622451dc45331aa | |
parent | b2278b64871379b8eb927923ee12ba13e94b96f2 [diff] |
Make vsock available to product and vendor Bug: 270690570 Test: mma in external/rust/crates Change-Id: If553c35d344e9a2f0f7dedb19f85f6a95b10223f
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