commit | 2f374177611fdac763bc00578a647998c778177c | [log] [tgz] |
---|---|---|
author | James Farrell <[email protected]> | Mon Sep 30 22:59:25 2024 +0000 |
committer | James Farrell <[email protected]> | Mon Sep 30 22:59:25 2024 +0000 |
tree | daa3e0d9cdc9f25ca6a3f330edb1490fee67fe99 | |
parent | 0181b8bc2e1811b3f8f76611c6e2c8ffbf341138 [diff] |
Migrate 25 crates to monorepo quickcheck regex-automata ryu same-file serde serde_json serde_spanned serde_test sharded-slab shlex siphasher tinyvec tinyvec_macros tokio-io-timeout toml toml_datetime toml_edit uniffi uniffi_checksum_derive uniffi_meta virtio-bindings virtio-queue virtio-vsock vsock vsprintf zerocopy-derive Bug: http://b/339424309 Test: treehugger Change-Id: I875a35abb4f4698f65491f26981de236152a19cf
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