Go to file
Andreea Florescu 162e1adc4f [i2c] separate parsing of strings from device
This separation is needed so we can easily write unit tests for parsing
without needing to create full blown objects. (as a side note, before
this is possible, we also need to get rid of errno, and replace it with
custom Errors, so that we can also write the much needed negative
tests).

This separation is achieved through creating configuration structures
that can be either programatically initialized, or initialized through
parsing the command line parameters.

This commit is still WIP because we also need to make sure that
configuration objects can only be created valid (to reduce some risks
for future extensions where parameters might be passed some other way
rather than yaml). Also, we need to move the check for uniquness of
device addresses in the DeviceConfig instead of the `I2cMap`.

Signed-off-by: Andreea Florescu <fandree@amazon.com>
2021-09-15 18:07:49 +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@ae7db2d98a build(deps): bump rust-vmm-ci from 1311bfa to ae7db2d 2021-09-06 06:57:46 +00:00
src/i2c [i2c] separate parsing of strings from device 2021-09-15 18:07:49 +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.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 i2c: Add tests to cover basic backend operations 2021-09-14 11:00:56 +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: