| commit | 3364b7e2f0132605f0ebdf6583e69d9c1b79080f | [log] [tgz] |
|---|---|---|
| author | Android Build Coastguard Worker <[email protected]> | Thu May 23 23:15:57 2024 +0000 |
| committer | Android Build Coastguard Worker <[email protected]> | Thu May 23 23:15:57 2024 +0000 |
| tree | 0bd6938ee342740b8846ce0a0e6d126081ba46f1 | |
| parent | 3631fd097c8fe5b020a8742b1fc5b59679459dc2 [diff] | |
| parent | 416355446c4bcda56483d3b65ccada36a1f0d722 [diff] |
Snap for 11881322 from 416355446c4bcda56483d3b65ccada36a1f0d722 to 24Q3-release Change-Id: I2807199217750a13140711db5708b2524632c4fe
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