Skip to content

neacsu/vsock-rs

This branch is 90 commits behind rust-vsock/vsock-rs:master.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

author
Bogdan Neacsu
Mar 24, 2020
7ab26d9 · Mar 24, 2020

History

8 Commits
Nov 9, 2019
Nov 12, 2019
Mar 24, 2020
Nov 12, 2019
Nov 12, 2019
Nov 12, 2019
Nov 12, 2019
Nov 12, 2019
Nov 8, 2019
Nov 12, 2019
Nov 12, 2019

Repository files navigation

vsock-rs

Virtio socket support for Rust. Implements VsockListener and VsockStream which are analogous to the std::net::TcpListener and std::net::TcpStream types.

Usage

Refer to the crate documentation.

Testing

Prerequisites

You will need a recent qemu-system-x86_64 build in your path.

Host

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

Tests

Run the test suite with:

make check

About

Virtio socket support for Rust

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Rust 86.8%
  • Makefile 9.6%
  • Shell 3.6%