commit | ca1ebcc270db869099c84b08e37b55f6587766b7 | [log] [tgz] |
---|---|---|
author | Joel Galenson <[email protected]> | Wed Dec 15 18:07:11 2021 +0000 |
committer | Automerger Merge Worker <[email protected]> | Wed Dec 15 18:07:11 2021 +0000 |
tree | 2ccd9749d9200a75c61d8eac6ff497db8edb72a1 | |
parent | 97d6681a4d123a9d56b1fcf23e4f55339cb75645 [diff] | |
parent | bd8cddb34ead8ac0e436343d2c72ee7bd1337815 [diff] |
Merge "Refresh Android.bp, cargo2android.json, TEST_MAPPING." am: a5341a6140 am: 2b850fd536 am: 4d3f891433 am: bd8cddb34e Original change: https://android-review.googlesource.com/c/platform/external/rust/crates/vsock/+/1912872 Change-Id: I1b3f7254a09e3f29f107e92c8683efe48e602fb9
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