Commit Graph

14 Commits

Author SHA1 Message Date
Viresh Kumar
462a621485 Add support for Xen builds
Various rust-vmm dependencies now support Xen platforms under a new
feature `xen`. Add the same here for all the crates.

Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
2023-07-06 16:37:36 +05:30
Erik Schilling
f0b0eee465 gpio: update instructions for setting up libgpiod
Signed-off-by: Erik Schilling <erik.schilling@linaro.org>
2023-07-03 11:26:22 +05:30
Viresh Kumar
799073f17c gpio: Migrate to the upstream version of libgpiod
The upstream version doesn't compile the .c files locally and depends on
the package to be locally compiled and installed in advance.

It also doesn't provide pre-generated bindings, and requires bindgen
support.

Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
2023-02-15 08:09:13 -07:00
Viresh Kumar
5e83d0c93f Move all crates in crates directory
Based on what other rust-vmm workspaces do, move all crates to crates
directory.

Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
2022-10-13 16:28:11 +05:30
Harshavardhan Unnibhavi
e20698695b vhost-user-vsock: virtio-vsock device emulation
This commit introduces a vhost-user-vsock device that enables
communicaton between an application running in the guest i.e
inside a VM and an application running on the host i.e outside
the VM. The device exposes unix sockets to which the VMM and
host-side applications connect to. Applications in the guest
communicate over VM sockets. Applicaitons on the host connect to
the unix socket i.e communicate over AF_UNIX sockets.

Signed-off-by: Harshavardhan Unnibhavi <harshanavkis@gmail.com>
[sgarzare: rebased, updated Cargo.lock, updated clap version to
 avoid build issues, and fixed clap issues with the new version]
Signed-off-by: Stefano Garzarella <sgarzare@redhat.com>
2022-10-12 14:21:54 +02:00
Stefano Garzarella
d599deefce README: replace master with frontend
In the vhost-user specs [1] we started using better words
for the actors involved, so let's do the same here.

[1] https://qemu-project.gitlab.io/qemu/interop/vhost-user.html

Signed-off-by: Stefano Garzarella <sgarzare@redhat.com>
2022-09-28 14:00:52 +02:00
Viresh Kumar
c38dacd880 gpio: Update README.md and add one for gpio
This updates the main README and adds a specific one for GPIO crate.

Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
2022-04-04 12:38:51 +05:30
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
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
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
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
Alex Bennée
31ec556560 README.md: document aim for separating concerns
While there may be some work to do on the testing framework to make
proper use of vm-virtio we should at least document the desire for
modularity.

Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
2021-11-09 10:02:30 +02:00
Viresh Kumar
cc46cab80d i2c: Update README.md and add one for i2c
This updates the main README and adds a specific one for i2c crate.

Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
2021-08-19 09:52:14 +03:00
Andreea Florescu
72710f3a89 Initial commit 2021-05-26 10:18:40 +03:00