commit | 61a197b76fd4fbfd1ea3f1a19d5201cedb5a9972 | [log] [tgz] |
---|---|---|
author | Andrew Walbran <[email protected]> | Tue Oct 11 13:36:42 2022 +0000 |
committer | Automerger Merge Worker <[email protected]> | Tue Oct 11 13:36:42 2022 +0000 |
tree | b988645e6b6b0cef47f68cfbe36a62d0c2e7fcec | |
parent | 3ab11aa7d2285fecf1d5aa0c9673014a4aaeac86 [diff] | |
parent | ecf0949f477868f24cf522c2f3900d819bfc11dd [diff] |
Update to version 0.3.0. am: ecf0949f47 Original change: https://android-review.googlesource.com/c/platform/external/rust/crates/vsock/+/2242080 Change-Id: I7bc2699bf9945700e870b7f107b5e2767ebc494d 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