Go to file
Andreea Florescu 57b96aa3a3 update I2cAdapter to allow setting a mock device
Before the constructor of this function was opening the device
corresponding to the passed path. This did not allow for properly
mocking the device functionality. Now the device is passed as a
parameter instead, which allows us to tweak what the device returns for
ioctl calls, and we can thus test multiple scenarios.

Signed-off-by: Andreea Florescu <fandree@amazon.com>
2021-10-26 10:27:58 +03:00
.cargo Initial commit 2021-05-26 10:18:40 +03:00
.github dependabot: Allow updating dependencies 2021-09-06 12:54:53 +05:30
rust-vmm-ci@7931077cdc build(deps): bump rust-vmm-ci from 68d4dbf to 7931077 2021-10-18 04:07:12 +00:00
src/i2c update I2cAdapter to allow setting a mock device 2021-10-26 10:27:58 +03:00
.gitignore Add .gitignore 2021-08-19 09:52:14 +03:00
.gitmodules Initial commit 2021-05-26 10:18:40 +03:00
Cargo.lock Merge branch 'main' into dependabot/cargo/proc-macro2-1.0.30 2021-10-18 12:16:13 +05:30
Cargo.toml Convert to virtual manifest and add i2c workspace 2021-08-19 09:52:14 +03:00
CODEOWNERS i2c: Update CODEOWNERS 2021-08-19 09:52:14 +03:00
coverage_config_x86_64.json update I2cAdapter to allow setting a mock device 2021-10-26 10:27:58 +03:00
LICENSE-APACHE Initial commit 2021-05-26 10:18:40 +03:00
README.md i2c: Update README.md and add one for i2c 2021-08-19 09:52:14 +03:00

vhost-device

Design

This repository hosts various 'vhost-user' device backends in their own crates. See their individual README.md files for specific information about those crates.

Here is the list of device backends that we support: