Use our vhost fork for all crates. It has SHMEM and GPU backend support. Add a Nix flake package for vhost-device-gpu with the virgl backend enabled. Also fixes duplicate imports in vhost-device-gpu/src/backend/virgl.rs. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
42 lines
1.3 KiB
TOML
42 lines
1.3 KiB
TOML
[package]
|
|
name = "vhost-device-vsock"
|
|
version = "0.3.0"
|
|
authors = ["Harshavardhan Unnibhavi <harshanavkis@gmail.com>", "Stefano Garzarella <sgarzare@redhat.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 = "2021"
|
|
|
|
[features]
|
|
default = ["backend_vsock"]
|
|
backend_vsock = ["vsock", "libc"]
|
|
xen = ["vm-memory/xen", "vhost/xen", "vhost-user-backend/xen"]
|
|
|
|
[dependencies]
|
|
byteorder = "1"
|
|
clap = { version = "4.5", features = ["derive"] }
|
|
env_logger = "0.11"
|
|
epoll = "4.4.0"
|
|
log = "0.4"
|
|
thiserror = "2.0"
|
|
vhost = { git = "https://git.dsg.is/dsg/vhost.git", features = ["vhost-user-backend"] }
|
|
vhost-user-backend = { git = "https://git.dsg.is/dsg/vhost.git" }
|
|
virtio-bindings = "0.2.5"
|
|
virtio-queue = "0.17"
|
|
virtio-vsock = "0.11"
|
|
vm-memory = "0.17.1"
|
|
vmm-sys-util = "0.15"
|
|
figment = { version = "0.10.19", features = ["yaml"] }
|
|
vsock = { version = "0.5.2", optional = true }
|
|
libc = { version = "0.2.182", optional = true }
|
|
serde = { version = "1", features = ["derive"] }
|
|
|
|
[dev-dependencies]
|
|
assert_matches = "1.5"
|
|
virtio-queue = { version = "0.17", features = ["test-utils"] }
|
|
tempfile = "3.26.0"
|
|
|
|
[lints]
|
|
workspace = true
|