commit | 082c33ee342e58d18c931b7fba8fec790e3559d0 | [log] [tgz] |
---|---|---|
author | Automerger Merge Worker <[email protected]> | Thu Mar 09 19:23:26 2023 +0000 |
committer | Android (Google) Code Review <[email protected]> | Thu Mar 09 19:23:26 2023 +0000 |
tree | 736fef5accd88a211d1028ae6622451dc45331aa | |
parent | 72637b52b6080ddc2646589fc51c8260bce05d6d [diff] | |
parent | 38294c2a1ea3f116723739e56323abfec5e3b42b [diff] |
Merge "Make vsock available to product and vendor am: b0ed37f95d am: ae8287e995 am: aa3896fc0a am: 9702e5b070 am: 6a3d1c378b"
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