Commit Graph

19 Commits

Author SHA1 Message Date
Viresh Kumar
3d2237d960 Update virtio-queue, vhost-user-backend and vm-memory
Update these to fix build issues.

Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
2022-09-20 16:12:48 +05:30
dependabot[bot]
bd42e8c7f8
build(deps): bump vhost from 0.4.0 to 0.5.0
Bumps [vhost](https://github.com/rust-vmm/vhost) from 0.4.0 to 0.5.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.4.0...v0.5.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-09-12 04:08:20 +00:00
Obei Sideg
870546c06d Remove use std::convert::TryFrom
Signed-off-by: Obei Sideg <obei.sideg@gmail.com>
2022-08-30 17:00:22 +03:00
Mathieu Poirier
843a03590b Preparation for upgrade to Rust version to 1.63.0
In preparation to upgrade to Rust version 1.63.0, address clippy
warning demanding that 'Eq' be derived when 'PartialEq' is.

Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org>
2022-08-29 15:37:02 -06:00
Obei Sideg
b7e0a7ed89 Upgrade to 2021 edition
Signed-off-by: Obei Sideg <obei.sideg@gmail.com>
2022-08-26 18:17:08 +03:00
Viresh Kumar
e50d717be5 Update code based on virtio-queue update to 0.5.0
virtio-queue update has API interface changes, adapt to them.

Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
2022-08-03 17:27:07 +05:30
Viresh Kumar
00d6e7b2bf Update vhost-user-backend version to 0.6.0
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
2022-08-03 15:01:34 +05:30
dependabot[bot]
f3338d8e60
build(deps): bump virtio-queue from 0.4.0 to 0.5.0
Bumps [virtio-queue](https://github.com/rust-vmm/vm-virtio) from 0.4.0 to 0.5.0.
- [Release notes](https://github.com/rust-vmm/vm-virtio/releases)
- [Commits](https://github.com/rust-vmm/vm-virtio/compare/virtio-queue-v0.4.0...virtio-queue-v0.5.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-07-27 15:41:49 +00:00
Viresh Kumar
b11516613a Update vhost-user-backend and libgpiod's versions
Update them to match all the entities for the same version of
vmm-sys-util.

Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
2022-07-25 16:12:02 +05:30
dependabot[bot]
82a931e0a5
build(deps): bump vmm-sys-util from 0.9.0 to 0.10.0
Bumps [vmm-sys-util](https://github.com/rust-vmm/vmm-sys-util) from 0.9.0 to 0.10.0.
- [Release notes](https://github.com/rust-vmm/vmm-sys-util/releases)
- [Changelog](https://github.com/rust-vmm/vmm-sys-util/blob/main/CHANGELOG.md)
- [Commits](https://github.com/rust-vmm/vmm-sys-util/compare/v0.9.0...v0.10.0)

---
updated-dependencies:
- dependency-name: vmm-sys-util
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-07-19 03:56:31 +00:00
Viresh Kumar
69ebcdace0 rng: Switch to common vmm-sys-util version
Both GPIO and I2C crates use a different version of vmm-sys-util
(=0.9.0), switch to that instead of the latest.

Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
2022-07-18 14:36:25 +05:30
Viresh Kumar
c037e60442 Update versions of rust-vmm dependency crates
Update a number of rust-vmm crates to align to the common version of
vm-memory.

Also update the tests to fix the build.

Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
2022-07-11 13:33:47 +05:30
Viresh Kumar
1bed5dfdbe build: Relax vm-memory dependency
This allows the use of newer versions of vm-memory and matches with
other crates (e.g. vhost, vhost-user-backend, etc) who also have such a
relaxed vm-memory dependency.

Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
2022-05-04 12:45:15 +05:30
Viresh Kumar
0542190d73 Update vhost-user-backend
Update vhost-user-backend to avoid vhost version conflicts.

Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
2022-03-28 10:05:01 +05:30
dependabot[bot]
d19669dc7c
build(deps): bump vhost from 0.3.0 to 0.4.0
Bumps [vhost](https://github.com/rust-vmm/vhost) from 0.3.0 to 0.4.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.3.0...v0.4.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-03-22 05:53:46 +00:00
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
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