• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..--

.cargo/23-Nov-2023-22

.github/workflows/23-Nov-2023-8666

src/23-Nov-2023-507417

tests/23-Nov-2023-7038

.cargo_vcs_info.jsonD23-Nov-202374 65

.gitignoreD23-Nov-202354 65

Android.bpD23-Nov-2023812 3732

Cargo.tomlD23-Nov-20231,009 3430

Cargo.toml.origD23-Nov-2023418 2017

LICENSED23-Nov-202311.1 KiB202169

METADATAD23-Nov-2023357 2019

MODULE_LICENSE_APACHE2D23-Nov-20230

MakefileD23-Nov-20232.4 KiB7339

OWNERSD23-Nov-202340 21

README.androidD23-Nov-2023226 43

README.mdD23-Nov-2023581 3622

README.android

1local_modifications:
2  "Cherry-picked https://github.com/qwandor/vsock-rs/commit/4f73c26fc9a95e36e3ac4d304a02b6a424d7bcfd to fix Android build. This should be included in the next upstream release."
3  See patches/src.lib.diff
4

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```