commit | 5e7f0fd06829d600f622ad45daa853ba3cef9a77 | [log] [tgz] |
---|---|---|
author | Haamed Gheibi <haamed@google.com> | Thu Sep 23 17:38:19 2021 +0000 |
committer | Haamed Gheibi <haamed@google.com> | Thu Sep 23 17:38:19 2021 +0000 |
tree | 5652e8ca213409985e2d1bc9ac57e7931cb87f98 | |
parent | ed0d9cf52c1f80afde86f9863124aa393b592fcf [diff] | |
parent | 8aa2f189cf32cc2760ceb6b4cbd04f8e5adfe34e [diff] |
Merge TP1A.210812.002 Bug: 198367246 Change-Id: I51bb442f68d5b3638606f711f55fb70f2c868279
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