Viresh Kumar
02fdac85e0
Merge pull request #109 from vireshk/i2c/trim
...
i2c: Trim the device list to avoid errors
2022-02-23 02:39:06 +05:30
Viresh Kumar
b29a5e2285
i2c: Trim the socket-path to avoid errors
...
If the user passes socket-path with whitespace before or after, like -l
" /tmp/vi2c.sock", then the Listener API fails and errors out. Fix this
by trimming the argument for whitespace at start or end.
Also add a test for the same.
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
2022-02-18 10:51:37 +05:30
Viresh Kumar
d052e66bbe
i2c: Trim the device list to avoid errors
...
If the user passes device list with whitespace before or after, like -l
" 6:32", then " 6".parse::<u32>() fails. Fix this by trimming the
argument for whitespace at start or end.
Also add a test for the same.
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
2022-02-17 21:45:11 +05:30
Viresh Kumar
819fedbbae
Merge pull request #108 from lauralt/fix_codeown
...
fix CODEOWNERS file
2022-02-15 21:51:23 +05:30
Laura Loghin
3bb86c423f
fix CODEOWNERS file
...
The gatekeeper-PullAssigner was not correctly added in
the codeowners file (with its github handle). Removed it
from the file, so that the codewners are automatically
requested to review a new PR.
Since I was hear, also reordered alphabetically the users.
Signed-off-by: Laura Loghin <lauralg@amazon.com>
2022-02-15 17:39:39 +02:00
Viresh Kumar
16af167f66
Merge pull request #107 from vireshk/i2c/construct_i2cargs
...
i2c: Write constructor for struct I2cArgs
2022-02-10 13:42:02 +05:30
Viresh Kumar
e0deacbadb
Merge branch 'main' into i2c/construct_i2cargs
2022-02-10 10:11:35 +05:30
Viresh Kumar
7efc5be7e0
Merge pull request #103 from stsquad/docs/coverage
...
Docs/coverage
2022-02-10 02:27:40 +05:30
Viresh Kumar
24c77b1452
i2c: Write constructor for struct I2cArgs
...
Remove get_cmd_args() and add a constructor of struct I2cArgs for the
same purpose.
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
2022-02-09 16:47:31 +05:30
Viresh Kumar
fe4dcd2414
Merge branch 'main' into docs/coverage
2022-02-09 15:05:13 +05:30
Viresh Kumar
f1c6c542cb
Merge pull request #106 from rust-vmm/dependabot/cargo/clap_derive-3.0.14
...
build(deps): bump clap_derive from 3.0.12 to 3.0.14
2022-02-09 15:04:27 +05:30
Viresh Kumar
db0f0d7c70
Merge branch 'main' into dependabot/cargo/clap_derive-3.0.14
2022-02-09 14:56:03 +05:30
Viresh Kumar
7c8c3d13c3
Merge pull request #102 from rust-vmm/dependabot/cargo/libc-0.2.117
...
build(deps): bump libc from 0.2.112 to 0.2.117
2022-02-09 14:55:49 +05:30
dependabot[bot]
f42281e54b
build(deps): bump clap_derive from 3.0.12 to 3.0.14
...
Bumps [clap_derive](https://github.com/clap-rs/clap ) from 3.0.12 to 3.0.14.
- [Release notes](https://github.com/clap-rs/clap/releases )
- [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md )
- [Commits](https://github.com/clap-rs/clap/compare/v3.0.12...v3.0.14 )
---
updated-dependencies:
- dependency-name: clap_derive
dependency-type: indirect
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-02-09 09:17:01 +00:00
dependabot[bot]
d4cbb2b97c
build(deps): bump libc from 0.2.112 to 0.2.117
...
Bumps [libc](https://github.com/rust-lang/libc ) from 0.2.112 to 0.2.117.
- [Release notes](https://github.com/rust-lang/libc/releases )
- [Commits](https://github.com/rust-lang/libc/compare/0.2.112...0.2.117 )
---
updated-dependencies:
- dependency-name: libc
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-02-09 09:16:16 +00:00
mathieupoirier
571bd6226c
Merge pull request #104 from rust-vmm/dependabot/cargo/autocfg-1.1.0
...
build(deps): bump autocfg from 1.0.1 to 1.1.0
2022-02-09 02:14:13 -07:00
Viresh Kumar
5e69e4203d
Merge branch 'main' into dependabot/cargo/autocfg-1.1.0
2022-02-09 14:34:55 +05:30
mathieupoirier
944635aae6
Merge pull request #105 from rust-vmm/dependabot/cargo/quote-1.0.15
...
build(deps): bump quote from 1.0.14 to 1.0.15
2022-02-09 02:04:32 -07:00
dependabot[bot]
79e4d533c0
build(deps): bump autocfg from 1.0.1 to 1.1.0
...
Bumps [autocfg](https://github.com/cuviper/autocfg ) from 1.0.1 to 1.1.0.
- [Release notes](https://github.com/cuviper/autocfg/releases )
- [Commits](https://github.com/cuviper/autocfg/compare/1.0.1...1.1.0 )
---
updated-dependencies:
- dependency-name: autocfg
dependency-type: indirect
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-02-08 20:21:29 +00:00
dependabot[bot]
24d0d571d9
build(deps): bump quote from 1.0.14 to 1.0.15
...
Bumps [quote](https://github.com/dtolnay/quote ) from 1.0.14 to 1.0.15.
- [Release notes](https://github.com/dtolnay/quote/releases )
- [Commits](https://github.com/dtolnay/quote/compare/1.0.14...1.0.15 )
---
updated-dependencies:
- dependency-name: quote
dependency-type: indirect
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-02-08 20:20:17 +00:00
mathieupoirier
66bdfb2584
Merge pull request #97 from rust-vmm/dependabot/cargo/syn-1.0.86
...
build(deps): bump syn from 1.0.85 to 1.0.86
2022-02-08 13:18:10 -07:00
mathieupoirier
bbc2b2545a
Merge branch 'main' into dependabot/cargo/syn-1.0.86
2022-02-08 13:13:09 -07:00
Alex Bennée
c69e61be90
Merge pull request #99 from rust-vmm/dependabot/cargo/clap_derive-3.0.12
...
build(deps): bump clap_derive from 3.0.6 to 3.0.12
2022-02-08 15:09:46 +00:00
Alex Bennée
bcea111620
README.md: document repository coverage rules
...
This attempts to finesse the rule of no coverage regressions for
discussion with the wider community.
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
2022-02-07 12:09:05 +00:00
mathieupoirier
f38441a96e
Merge branch 'main' into dependabot/cargo/syn-1.0.86
2022-01-31 16:51:38 -07:00
mathieupoirier
c60cd2dbaa
Merge branch 'main' into dependabot/cargo/clap_derive-3.0.12
2022-01-31 16:40:45 -07:00
Alex Bennée
9e54e29064
Merge pull request #94 from rust-vmm/dependabot/submodules/rust-vmm-ci-d216a46
...
build(deps): bump rust-vmm-ci from `d023262` to `d216a46`
2022-01-26 17:29:24 +00:00
Sergii Glushchenko
3cc37dada4
Adjust test coverage
...
Signed-off-by: Sergii Glushchenko <gsserge@amazon.com>
2022-01-25 10:13:02 +01:00
dependabot[bot]
31489cc5b0
build(deps): bump rust-vmm-ci from d023262 to d216a46
...
Bumps [rust-vmm-ci](https://github.com/rust-vmm/rust-vmm-ci ) from `d023262` to `d216a46`.
- [Release notes](https://github.com/rust-vmm/rust-vmm-ci/releases )
- [Commits](d023262164...d216a46879 )
---
updated-dependencies:
- dependency-name: rust-vmm-ci
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-01-25 09:39:19 +01:00
dependabot[bot]
8560e15391
build(deps): bump syn from 1.0.85 to 1.0.86
...
Bumps [syn](https://github.com/dtolnay/syn ) from 1.0.85 to 1.0.86.
- [Release notes](https://github.com/dtolnay/syn/releases )
- [Commits](https://github.com/dtolnay/syn/compare/1.0.85...1.0.86 )
---
updated-dependencies:
- dependency-name: syn
dependency-type: indirect
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-01-25 08:27:36 +00:00
dependabot[bot]
54075c5bb0
build(deps): bump clap_derive from 3.0.6 to 3.0.12
...
Bumps [clap_derive](https://github.com/clap-rs/clap ) from 3.0.6 to 3.0.12.
- [Release notes](https://github.com/clap-rs/clap/releases )
- [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md )
- [Commits](https://github.com/clap-rs/clap/compare/v3.0.6...v3.0.12 )
---
updated-dependencies:
- dependency-name: clap_derive
dependency-type: indirect
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-01-25 08:26:29 +00:00
Viresh Kumar
f7bb411129
Merge pull request #93 from vireshk/i2c/clap
...
i2c: Move to newer version of Clap
2022-01-25 13:53:25 +05:30
Viresh Kumar
33c40e5c06
Update cargo.lock and coverage
...
Update cargo.lock and coverage to match the latest code.
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
2022-01-20 14:50:25 +05:30
Viresh Kumar
6f588d6809
i2c: Move to newer version of Clap
...
Lets not use beta release anymore, since we have a stable version
available now.
The newer version doesn't support Yamls anymore, but rather another
feature "derive", which is quite easy to use actually. Lets migrate to
it.
Some of the tests can't be done anymore, drop them.
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
2022-01-20 14:46:44 +05:30
Alexandru Agache
e5634eada4
Merge pull request #92 from gsserge/ci_update
...
Manually update rust-vmm-ci
2022-01-19 14:43:48 +02:00
Sergii Glushchenko
c2e8d01cb9
Fix clippy warnings and adjust coverage
...
Signed-off-by: Sergii Glushchenko <gsserge@amazon.com>
2022-01-19 13:30:06 +01:00
Sergii Glushchenko
1bccf7f765
Manually update rust-vmm-ci
...
- Use v14 container image with Rust 1.54
Signed-off-by: Sergii Glushchenko <gsserge@amazon.com>
2022-01-19 13:21:38 +01:00
Viresh Kumar
4449bb5f44
Merge pull request #90 from vireshk/i2c/testing
...
I2c/testing
2022-01-18 13:41:49 +05:30
Viresh Kumar
5f2f457ccf
Merge branch 'main' into i2c/testing
2022-01-17 14:33:48 +05:30
Laura Loghin
c718d85061
Merge pull request #91 from rust-vmm/dependabot/submodules/rust-vmm-ci-b6858b2
...
build(deps): bump rust-vmm-ci from `aee82cf` to `b6858b2`
2022-01-17 10:12:17 +02:00
dependabot[bot]
6444f2053e
build(deps): bump rust-vmm-ci from aee82cf to b6858b2
...
Bumps [rust-vmm-ci](https://github.com/rust-vmm/rust-vmm-ci ) from `aee82cf` to `b6858b2`.
- [Release notes](https://github.com/rust-vmm/rust-vmm-ci/releases )
- [Commits](aee82cf0a4...b6858b232d )
---
updated-dependencies:
- dependency-name: rust-vmm-ci
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-01-17 04:06:42 +00:00
Viresh Kumar
d76db0ec6c
Merge branch 'main' into i2c/testing
2022-01-11 10:14:33 +05:30
Viresh Kumar
f42e35e72c
Merge pull request #89 from rust-vmm/dependabot/cargo/indexmap-1.8.0
...
build(deps): bump indexmap from 1.7.0 to 1.8.0
2022-01-11 03:56:16 +05:30
Viresh Kumar
be99550269
i2c: Improve test coverage
...
Add more tests to increase coverage.
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
2022-01-10 12:50:52 +05:30
Viresh Kumar
78da64c7f2
i2c: Always pass vring to process_requests()
...
For tests we can pass a non related vring to just make it run, hence no
need of making it optional. Always pass the vring.
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
2022-01-10 12:50:34 +05:30
dependabot[bot]
f2086060c3
build(deps): bump indexmap from 1.7.0 to 1.8.0
...
Bumps [indexmap](https://github.com/bluss/indexmap ) from 1.7.0 to 1.8.0.
- [Release notes](https://github.com/bluss/indexmap/releases )
- [Changelog](https://github.com/bluss/indexmap/blob/master/RELEASES.rst )
- [Commits](https://github.com/bluss/indexmap/compare/1.7.0...1.8.0 )
---
updated-dependencies:
- dependency-name: indexmap
dependency-type: indirect
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-01-10 04:05:52 +00:00
Viresh Kumar
b783e94040
Merge pull request #88 from vireshk/i2c/master
...
vhost-device: Fix broken link
2022-01-07 15:04:29 +05:30
Viresh Kumar
11b7aaa117
Merge branch 'main' into i2c/master
2022-01-07 14:52:14 +05:30
Viresh Kumar
328cb1c2d4
Merge pull request #77 from vireshk/i2c/logger
...
i2c: Initialize env_logger
2022-01-07 14:51:24 +05:30
Viresh Kumar
562428e7b9
Merge branch 'main' into i2c/logger
2022-01-06 15:50:30 +05:30