commit | 4f6d5c7bcbb7cf0572819f6e12039fbda55ef3fc | [log] [tgz] |
---|---|---|
author | Android Build Coastguard Worker <[email protected]> | Mon Mar 14 07:05:05 2022 +0000 |
committer | Android Build Coastguard Worker <[email protected]> | Mon Mar 14 07:05:05 2022 +0000 |
tree | 2ccd9749d9200a75c61d8eac6ff497db8edb72a1 | |
parent | d30748c05e6d839651731c8b9b29c434fdd3bef1 [diff] | |
parent | bd8cddb34ead8ac0e436343d2c72ee7bd1337815 [diff] |
Snap for 8294919 from bd8cddb34ead8ac0e436343d2c72ee7bd1337815 to main-cg-testing-release Change-Id: I049591602c2e14e9200c5f56b58915b1774ac3f5
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