commit | bd99fcf8293df4cf9e54a316531201d1e8f78c51 | [log] [tgz] |
---|---|---|
author | Andrew Walbran <[email protected]> | Tue Oct 11 14:36:03 2022 +0000 |
committer | Automerger Merge Worker <[email protected]> | Tue Oct 11 14:36:03 2022 +0000 |
tree | b988645e6b6b0cef47f68cfbe36a62d0c2e7fcec | |
parent | 035689d021d239d527077dde652c935c1aa8fe82 [diff] | |
parent | 38f59a0eef48b4b8cc20c4246850bc2836fcfb10 [diff] |
Update to version 0.3.0. am: ecf0949f47 am: 61a197b76f am: 38f59a0eef Original change: https://android-review.googlesource.com/c/platform/external/rust/crates/vsock/+/2242080 Change-Id: I00948d700afb243c1be75e36f2e1a1926d5fac06 Signed-off-by: Automerger Merge Worker <[email protected]>
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