Commit Graph

6 Commits

Author SHA1 Message Date
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
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
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
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