Commit Graph

262 Commits

Author SHA1 Message Date
Viresh Kumar
ccc7464eff
Merge branch 'main' into dependabot/cargo/fastrand-1.7.0 2022-03-10 08:52:04 +05:30
Viresh Kumar
1f23d5427a
Merge pull request #125 from rust-vmm/dependabot/cargo/redox_syscall-0.2.11
build(deps): bump redox_syscall from 0.2.10 to 0.2.11
2022-03-10 08:51:50 +05:30
dependabot[bot]
278fd507d6
build(deps): bump fastrand from 1.6.0 to 1.7.0
Bumps [fastrand](https://github.com/smol-rs/fastrand) from 1.6.0 to 1.7.0.
- [Release notes](https://github.com/smol-rs/fastrand/releases)
- [Changelog](https://github.com/smol-rs/fastrand/blob/master/CHANGELOG.md)
- [Commits](https://github.com/smol-rs/fastrand/compare/v1.6.0...v1.7.0)

---
updated-dependencies:
- dependency-name: fastrand
  dependency-type: indirect
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-09 21:07:49 +00:00
dependabot[bot]
3e611c01fd
build(deps): bump redox_syscall from 0.2.10 to 0.2.11
Bumps redox_syscall from 0.2.10 to 0.2.11.

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-09 21:07:49 +00:00
Viresh Kumar
8933f19c33
Merge pull request #124 from rust-vmm/dependabot/cargo/clap-3.1.6
build(deps): bump clap from 3.1.5 to 3.1.6
2022-03-10 02:36:35 +05:30
mathieupoirier
be25b68a52
Merge branch 'main' into dependabot/cargo/clap-3.1.6 2022-03-09 14:01:33 -07:00
Viresh Kumar
ac00cc0b94
Merge pull request #120 from rust-vmm/dependabot/cargo/virtio-queue-0.2.0
build(deps): bump virtio-queue from 0.1.0 to 0.2.0
2022-03-10 02:31:05 +05:30
Viresh Kumar
b876aa75e9 Cargo.lock: Update regex version to fix error
Move regex to 1.5.5 to fix the build issues.

Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
2022-03-09 10:49:30 +05:30
Viresh Kumar
9c818c23e4
Merge branch 'main' into dependabot/cargo/virtio-queue-0.2.0 2022-03-09 09:01:28 +05:30
mathieupoirier
53b4835cfb
Merge branch 'main' into dependabot/cargo/clap-3.1.6 2022-03-08 13:09:30 -07:00
Viresh Kumar
e9762052aa
Merge pull request #123 from rust-vmm/dependabot/cargo/getrandom-0.2.5
build(deps): bump getrandom from 0.2.4 to 0.2.5
2022-03-09 01:37:56 +05:30
Viresh Kumar
f7f0361d76 vhost-device: Update vhost-user-backend to 0.2.0
The versions of virtio-queue conflicts as both vhost-device and
vhost-user-backend are trying to fetch different versions of it. Fix it
by updating vhost-user-backend as well.

Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
2022-03-08 10:33:16 +05:30
dependabot[bot]
b2092fb501
build(deps): bump virtio-queue from 0.1.0 to 0.2.0
Bumps [virtio-queue](https://github.com/rust-vmm/vm-virtio) from 0.1.0 to 0.2.0.
- [Release notes](https://github.com/rust-vmm/vm-virtio/releases)
- [Commits](https://github.com/rust-vmm/vm-virtio/compare/virtio-queue-v0.1.0...virtio-queue-v0.2.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-08 04:39:37 +00:00
Viresh Kumar
dba6ee7629
Merge branch 'main' into dependabot/cargo/clap-3.1.6 2022-03-08 09:56:45 +05:30
dependabot[bot]
ff38c61ce1
build(deps): bump getrandom from 0.2.4 to 0.2.5
Bumps [getrandom](https://github.com/rust-random/getrandom) from 0.2.4 to 0.2.5.
- [Release notes](https://github.com/rust-random/getrandom/releases)
- [Changelog](https://github.com/rust-random/getrandom/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rust-random/getrandom/compare/v0.2.4...v0.2.5)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-08 03:54:05 +00:00
dependabot[bot]
da37cc43f4
build(deps): bump clap from 3.1.5 to 3.1.6
Bumps [clap](https://github.com/clap-rs/clap) from 3.1.5 to 3.1.6.
- [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.1.5...v3.1.6)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-08 03:53:56 +00:00
Viresh Kumar
d1b23285b9
Merge pull request #122 from rust-vmm/dependabot/cargo/clap-3.1.5
build(deps): bump clap from 3.1.2 to 3.1.5
2022-03-08 09:23:04 +05:30
Viresh Kumar
ade931ceff
Merge branch 'main' into dependabot/cargo/clap-3.1.5 2022-03-08 09:16:34 +05:30
Viresh Kumar
9059cf7cc0
Merge pull request #121 from rust-vmm/dependabot/cargo/clap_derive-3.1.4
build(deps): bump clap_derive from 3.1.2 to 3.1.4
2022-03-08 09:16:27 +05:30
dependabot[bot]
a4b36fde29
build(deps): bump clap from 3.1.2 to 3.1.5
Bumps [clap](https://github.com/clap-rs/clap) from 3.1.2 to 3.1.5.
- [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.1.2...v3.1.5)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-07 14:39:03 +00:00
dependabot[bot]
ec3a296e77
build(deps): bump clap_derive from 3.1.2 to 3.1.4
Bumps [clap_derive](https://github.com/clap-rs/clap) from 3.1.2 to 3.1.4.
- [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.1.2...v3.1.4)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-07 14:38:59 +00:00
Viresh Kumar
f36dfae52c
Merge pull request #119 from mathieupoirier/vhost-device-rng-v8
RNG: Initial vhost-device RNG implementation (v8)
2022-03-07 20:07:49 +05:30
Mathieu Poirier
198fa54325 rng: Add testing module for vhost-device RNG
This patch adds testing modules for both main.rs and vu_rng.rs
in order to satisfy functional testing and code coverage.

Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org>
2022-03-01 14:37:36 -07:00
Mathieu Poirier
ad8bd113b9 rng: Initial vhost-device RNG implementation
This patch provides a vhost-user compliant daemon for Random Number
Generation (RNG) that implements the VhostUserBackend trait.  As such
it can be used seamlessly with any kind of VMM, regardless of the
underlying architecture or programming language.

Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org>
2022-03-01 14:37:36 -07:00
Viresh Kumar
7e6ffb0d0e
Merge pull request #117 from rust-vmm/dependabot/cargo/clap-3.1.2
build(deps): bump clap from 3.1.0 to 3.1.2
2022-03-01 01:58:44 +05:30
Viresh Kumar
77ec3704ef
Merge branch 'main' into dependabot/cargo/clap-3.1.2 2022-02-28 17:33:14 +05:30
Viresh Kumar
224cf330c7
Merge pull request #115 from rust-vmm/dependabot/submodules/rust-vmm-ci-99fe2eb
build(deps): bump rust-vmm-ci from `ee6be8c` to `99fe2eb`
2022-02-28 17:32:41 +05:30
dependabot[bot]
e1f5d454ad
build(deps): bump clap from 3.1.0 to 3.1.2
Bumps [clap](https://github.com/clap-rs/clap) from 3.1.0 to 3.1.2.
- [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/clap_complete-v3.1.0...v3.1.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-02-28 10:42:28 +00:00
dependabot[bot]
2a9f09037c
build(deps): bump rust-vmm-ci from ee6be8c to 99fe2eb
Bumps [rust-vmm-ci](https://github.com/rust-vmm/rust-vmm-ci) from `ee6be8c` to `99fe2eb`.
- [Release notes](https://github.com/rust-vmm/rust-vmm-ci/releases)
- [Commits](ee6be8ca18...99fe2eb2e0)

---
updated-dependencies:
- dependency-name: rust-vmm-ci
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-02-28 10:41:41 +00:00
Viresh Kumar
9f7289df32
Merge pull request #116 from rust-vmm/dependabot/cargo/clap_derive-3.1.2
build(deps): bump clap_derive from 3.1.0 to 3.1.2
2022-02-28 16:10:58 +05:30
dependabot[bot]
d4b9fe1cde
build(deps): bump clap_derive from 3.1.0 to 3.1.2
Bumps [clap_derive](https://github.com/clap-rs/clap) from 3.1.0 to 3.1.2.
- [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.1.0...v3.1.2)

---
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-28 04:10:18 +00:00
mathieupoirier
60084df482
Merge pull request #114 from rust-vmm/dependabot/cargo/clap-3.1.0
build(deps): bump clap from 3.0.10 to 3.1.0
2022-02-22 17:17:03 -07:00
mathieupoirier
97ac597adb
Merge branch 'main' into dependabot/cargo/clap-3.1.0 2022-02-22 16:58:27 -07:00
mathieupoirier
e1c6d79e10
Merge pull request #112 from rust-vmm/dependabot/cargo/libc-0.2.119
build(deps): bump libc from 0.2.117 to 0.2.119
2022-02-22 16:57:49 -07:00
mathieupoirier
007f01a43b
Merge branch 'main' into dependabot/cargo/libc-0.2.119 2022-02-22 16:43:48 -07:00
mathieupoirier
e578c8057f
Merge pull request #111 from rust-vmm/dependabot/submodules/rust-vmm-ci-ee6be8c
build(deps): bump rust-vmm-ci from `d216a46` to `ee6be8c`
2022-02-22 16:43:21 -07:00
mathieupoirier
7133d135ba
Merge branch 'main' into dependabot/submodules/rust-vmm-ci-ee6be8c 2022-02-22 16:34:53 -07:00
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
dependabot[bot]
91c206d8dd
build(deps): bump clap from 3.0.10 to 3.1.0
Bumps [clap](https://github.com/clap-rs/clap) from 3.0.10 to 3.1.0.
- [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.10...clap_complete-v3.1.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-02-21 04:07:32 +00:00
dependabot[bot]
ea45853f84
build(deps): bump libc from 0.2.117 to 0.2.119
Bumps [libc](https://github.com/rust-lang/libc) from 0.2.117 to 0.2.119.
- [Release notes](https://github.com/rust-lang/libc/releases)
- [Commits](https://github.com/rust-lang/libc/compare/0.2.117...0.2.119)

---
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-21 04:07:23 +00:00
dependabot[bot]
c27270a449
build(deps): bump rust-vmm-ci from d216a46 to ee6be8c
Bumps [rust-vmm-ci](https://github.com/rust-vmm/rust-vmm-ci) from `d216a46` to `ee6be8c`.
- [Release notes](https://github.com/rust-vmm/rust-vmm-ci/releases)
- [Commits](d216a46879...ee6be8ca18)

---
updated-dependencies:
- dependency-name: rust-vmm-ci
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-02-21 04:06:06 +00:00
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