Go to file
Viresh Kumar ef52e69bff [i2c] Remove the "func" argument from funcs()
The funcs() implementation is buggy as it doesn't take "func" by
reference and it only defaults to SMBUS and hence the I2C protocol is
never chosen as a function.

Since the value of "func" is never required to be set by the caller, it
shouldn't be passed as argument in the first place. Make the function
return Result<u64> instead.

The test test_funcs() was failing before this change and passes after
it.

Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
2021-10-28 11:32:17 +05:30
.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 [i2c] Remove the "func" argument from funcs() 2021-10-28 11:32:17 +05:30
.gitignore Add .gitignore 2021-08-19 09:52:14 +03:00
.gitmodules Initial commit 2021-05-26 10:18:40 +03:00
Cargo.lock [i2c] Update coverage score and Cargo.lock 2021-10-27 12:38:09 +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 [i2c] Update coverage score and Cargo.lock 2021-10-27 12:38:09 +05:30
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: