Commit Graph

187 Commits

Author SHA1 Message Date
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
Viresh Kumar
bd8c993aa6
Merge branch 'main' into i2c/master 2022-01-06 15:50:22 +05:30
Viresh Kumar
b3acc32bd9
Merge pull request #87 from rust-vmm/dependabot/cargo/syn-1.0.85
build(deps): bump syn from 1.0.82 to 1.0.85
2022-01-06 15:50:16 +05:30
Viresh Kumar
60b139e7df
Merge branch 'main' into i2c/logger 2022-01-06 15:37:58 +05:30
Viresh Kumar
f9e7d80ef2
Merge branch 'main' into dependabot/cargo/syn-1.0.85 2022-01-06 15:25:25 +05:30
Viresh Kumar
60a4155c60
Merge pull request #86 from rust-vmm/dependabot/cargo/quote-1.0.14
build(deps): bump quote from 1.0.10 to 1.0.14
2022-01-06 15:22:16 +05:30
Viresh Kumar
2898424f0a
Merge branch 'main' into i2c/logger 2022-01-06 15:08:19 +05:30
Viresh Kumar
b355a8c7ac
Merge branch 'main' into i2c/master 2022-01-06 15:03:12 +05:30
Viresh Kumar
d6a86ed36c
Merge branch 'main' into dependabot/cargo/quote-1.0.14 2022-01-06 15:02:45 +05:30
Viresh Kumar
a22d282e1f
Merge branch 'main' into dependabot/cargo/syn-1.0.85 2022-01-06 15:02:42 +05:30
Viresh Kumar
ccc395fece
Merge pull request #82 from rust-vmm/dependabot/cargo/vhost-0.3.0
build(deps): bump vhost from 0.2.0 to 0.3.0
2022-01-06 15:01:29 +05:30
Viresh Kumar
75c5c1df01 vhost-device: Fix broken link
Update README to point to the correct link, replace master with main.

Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
2022-01-06 14:59:53 +05:30
Viresh Kumar
8d8950b4cf i2c: Initialize env_logger
The i2c crate now uses log crate to publish error, info and warn
messages, but doesn't initialize a logger yet and these messages never
make it out.

Initialize the env_logger to see these messages.

Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
2022-01-06 14:41:32 +05:30
Viresh Kumar
7492b83692 i2c: Fix build issues with vhost update
Update version of other dependencies and fix minor build issues.

Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
2022-01-06 14:37:13 +05:30
dependabot[bot]
50312eadfc build(deps): bump vhost from 0.2.0 to 0.3.0
Bumps [vhost](https://github.com/rust-vmm/vhost) from 0.2.0 to 0.3.0.
- [Release notes](https://github.com/rust-vmm/vhost/releases)
- [Changelog](https://github.com/rust-vmm/vhost/blob/main/CHANGELOG.md)
- [Commits](https://github.com/rust-vmm/vhost/compare/v0.2.0...v0.3.0)

---
updated-dependencies:
- dependency-name: vhost
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-01-06 14:37:13 +05:30
dependabot[bot]
2c731c07da
build(deps): bump quote from 1.0.10 to 1.0.14
Bumps [quote](https://github.com/dtolnay/quote) from 1.0.10 to 1.0.14.
- [Release notes](https://github.com/dtolnay/quote/releases)
- [Commits](https://github.com/dtolnay/quote/compare/1.0.10...1.0.14)

---
updated-dependencies:
- dependency-name: quote
  dependency-type: indirect
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-01-06 09:04:49 +00:00
dependabot[bot]
38afcccfff
build(deps): bump syn from 1.0.82 to 1.0.85
Bumps [syn](https://github.com/dtolnay/syn) from 1.0.82 to 1.0.85.
- [Release notes](https://github.com/dtolnay/syn/releases)
- [Commits](https://github.com/dtolnay/syn/compare/1.0.82...1.0.85)

---
updated-dependencies:
- dependency-name: syn
  dependency-type: indirect
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-01-06 09:04:47 +00:00
Viresh Kumar
faae8d3569
Merge pull request #85 from vireshk/i2c/move-around
i2c: Move i2c to top folder
2022-01-06 14:33:34 +05:30
Viresh Kumar
21e3a6ac72
Merge branch 'main' into i2c/move-around 2022-01-06 14:26:55 +05:30
Viresh Kumar
0a6a45e2c4
Merge pull request #84 from rust-vmm/dependabot/cargo/version_check-0.9.4
build(deps): bump version_check from 0.9.3 to 0.9.4
2022-01-06 13:53:56 +05:30
Viresh Kumar
677b897576 i2c: Move i2c to top folder
The workspace section in Rust documentation suggests adding new crates
in the top level directory itself instead of the src folder. Remove the
top level src folder.

Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
2022-01-05 11:09:33 +05:30
Viresh Kumar
6bf7d1d6ad
Merge branch 'main' into dependabot/cargo/version_check-0.9.4 2022-01-05 10:09:01 +05:30
dependabot[bot]
1b25e07312
build(deps): bump version_check from 0.9.3 to 0.9.4
Bumps [version_check](https://github.com/SergioBenitez/version_check) from 0.9.3 to 0.9.4.
- [Release notes](https://github.com/SergioBenitez/version_check/releases)
- [Commits](https://github.com/SergioBenitez/version_check/compare/v0.9.3...v0.9.4)

---
updated-dependencies:
- dependency-name: version_check
  dependency-type: indirect
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-01-05 04:37:35 +00:00
Viresh Kumar
bc742518c9
Merge pull request #81 from rust-vmm/dependabot/cargo/proc-macro2-1.0.36
build(deps): bump proc-macro2 from 1.0.33 to 1.0.36
2022-01-05 10:06:40 +05:30
dependabot[bot]
3895dcf249
build(deps): bump proc-macro2 from 1.0.33 to 1.0.36
Bumps [proc-macro2](https://github.com/dtolnay/proc-macro2) from 1.0.33 to 1.0.36.
- [Release notes](https://github.com/dtolnay/proc-macro2/releases)
- [Commits](https://github.com/dtolnay/proc-macro2/compare/1.0.33...1.0.36)

---
updated-dependencies:
- dependency-name: proc-macro2
  dependency-type: indirect
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-01-04 21:37:28 +00:00
Viresh Kumar
0415d96ff3
Merge pull request #73 from rust-vmm/dependabot/cargo/libc-0.2.112
build(deps): bump libc from 0.2.111 to 0.2.112
2022-01-05 03:05:58 +05:30
dependabot[bot]
fabceddd83
build(deps): bump libc from 0.2.111 to 0.2.112
Bumps [libc](https://github.com/rust-lang/libc) from 0.2.111 to 0.2.112.
- [Release notes](https://github.com/rust-lang/libc/releases)
- [Commits](https://github.com/rust-lang/libc/compare/0.2.111...0.2.112)

---
updated-dependencies:
- dependency-name: libc
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-12-20 04:07:45 +00:00
Viresh Kumar
95503ad213
Merge pull request #71 from rust-vmm/dependabot/cargo/libc-0.2.111
build(deps): bump libc from 0.2.109 to 0.2.111
2021-12-13 14:55:08 +05:30
dependabot[bot]
737f4f4736
build(deps): bump libc from 0.2.109 to 0.2.111
Bumps [libc](https://github.com/rust-lang/libc) from 0.2.109 to 0.2.111.
- [Release notes](https://github.com/rust-lang/libc/releases)
- [Commits](https://github.com/rust-lang/libc/compare/0.2.109...0.2.111)

---
updated-dependencies:
- dependency-name: libc
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-12-13 04:07:38 +00:00
Viresh Kumar
adb938e117
Merge pull request #69 from rust-vmm/dependabot/cargo/proc-macro2-1.0.33
build(deps): bump proc-macro2 from 1.0.32 to 1.0.33
2021-12-07 15:21:49 +05:30
dependabot[bot]
8229f20c02
build(deps): bump proc-macro2 from 1.0.32 to 1.0.33
Bumps [proc-macro2](https://github.com/dtolnay/proc-macro2) from 1.0.32 to 1.0.33.
- [Release notes](https://github.com/dtolnay/proc-macro2/releases)
- [Commits](https://github.com/dtolnay/proc-macro2/compare/1.0.32...1.0.33)

---
updated-dependencies:
- dependency-name: proc-macro2
  dependency-type: indirect
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-12-06 11:26:03 +00:00
Viresh Kumar
23fbaff1dc
Merge pull request #70 from rust-vmm/dependabot/cargo/libc-0.2.109
build(deps): bump libc from 0.2.108 to 0.2.109
2021-12-06 16:54:16 +05:30
dependabot[bot]
1c3ce2b093
build(deps): bump libc from 0.2.108 to 0.2.109
Bumps [libc](https://github.com/rust-lang/libc) from 0.2.108 to 0.2.109.
- [Release notes](https://github.com/rust-lang/libc/releases)
- [Commits](https://github.com/rust-lang/libc/compare/0.2.108...0.2.109)

---
updated-dependencies:
- dependency-name: libc
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-12-06 04:07:19 +00:00
Viresh Kumar
840a8fc404
Merge pull request #67 from rust-vmm/dependabot/cargo/syn-1.0.82
build(deps): bump syn from 1.0.81 to 1.0.82
2021-11-29 14:49:10 +05:30
dependabot[bot]
5a2bb0ad8a
build(deps): bump syn from 1.0.81 to 1.0.82
Bumps [syn](https://github.com/dtolnay/syn) from 1.0.81 to 1.0.82.
- [Release notes](https://github.com/dtolnay/syn/releases)
- [Commits](https://github.com/dtolnay/syn/compare/1.0.81...1.0.82)

---
updated-dependencies:
- dependency-name: syn
  dependency-type: indirect
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-11-29 08:56:44 +00:00
Viresh Kumar
ae3958743d
Merge pull request #63 from vireshk/i2c/testing-wip
I2c/Improved testing
2021-11-29 14:25:21 +05:30