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>
This commit is contained in:
Harshavardhan Unnibhavi 2021-06-08 07:15:08 +02:00 committed by Stefano Garzarella
parent b9f8d4e88f
commit e20698695b
15 changed files with 3293 additions and 28 deletions

View file

@ -4,4 +4,5 @@ members = [
"gpio",
"i2c",
"rng",
"vsock",
]