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>
This adds the boilerplate code and its dependencies to get the basic
structure for the gpio crate.
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
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>
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>
This converts the Cargo.toml to a virtual manifest, removes the
src/lib.rs file and adds basic workspace for i2c backend device.
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>