mirror of
https://github.com/rust-vmm/vhost-device.git
synced 2026-01-04 16:38:03 +00:00
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>
28 lines
798 B
TOML
28 lines
798 B
TOML
[package]
|
|
name = "vhost-user-vsock"
|
|
version = "0.1.0"
|
|
authors = ["Harshavardhan Unnibhavi <harshanavkis@gmail.com>"]
|
|
description = "A virtio-vsock device using the vhost-user protocol."
|
|
repository = "https://github.com/rust-vmm/vhost-device"
|
|
readme = "README.md"
|
|
keywords = ["vhost", "vsock"]
|
|
license = "Apache-2.0 OR BSD-3-Clause"
|
|
edition = "2018"
|
|
|
|
[dependencies]
|
|
byteorder = "1"
|
|
clap = { version = ">=3.0", features = ["yaml"] }
|
|
epoll = "4.3.1"
|
|
futures = { version = "0.3", features = ["thread-pool"] }
|
|
log = "0.4.14"
|
|
thiserror = "1.0"
|
|
vhost = { version = "0.3", features = ["vhost-user-slave"] }
|
|
vhost-user-backend = "0.1"
|
|
virtio-bindings = ">=0.1"
|
|
virtio-queue = "0.1"
|
|
vm-memory = "0.7"
|
|
vmm-sys-util = "=0.9.0"
|
|
|
|
[dev-dependencies]
|
|
virtio-queue = { version = "0.1", features = ["test-utils"] }
|