• Home
Name Date Size #Lines LOC

..--

.cargo/03-May-2024-22

.github/workflows/03-May-2024-8666

src/03-May-2024-529433

tests/03-May-2024-7542

.cargo_vcs_info.jsonD03-May-202474 65

.gitignoreD03-May-202454 65

Android.bpD03-May-2024886 3834

Cargo.tomlD03-May-2024951 3329

Cargo.toml.origD03-May-2024418 2017

LICENSED03-May-202411.1 KiB202169

METADATAD03-May-2024357 2019

MODULE_LICENSE_APACHE2D03-May-20240

MakefileD03-May-20242.4 KiB7339

OWNERSD03-May-202440 21

README.mdD03-May-2024581 3622

TEST_MAPPINGD03-May-2024357 2019

cargo2android.jsonD03-May-2024142 99

README.md

1# vsock-rs
2
3Virtio socket support for Rust. Implements VsockListener and VsockStream
4which are analogous to the `std::net::TcpListener` and `std::net::TcpStream` types.
5
6## Usage
7
8Refer to the crate [documentation](https://docs.rs/vsock).
9
10## Testing
11
12### Prerequisites
13
14You will need a recent qemu-system-x86_64 build in your path.
15
16### Host
17
18Setup the required virtio kernel modules:
19
20```
21make kmod
22```
23
24Start the test vm, you can shutdown the vm with the keyboard shortcut ```Ctrl+A``` and then ```x```:
25
26```
27make vm
28```
29
30### Tests
31
32Run the test suite with:
33
34```
35make check
36```