add test to trigger the VHOST_USER_SHARED_OBJECT message on both frontend and backend. Signed-off-by: Dorinda Bassey <dbassey@redhat.com>
30 lines
1.1 KiB
TOML
30 lines
1.1 KiB
TOML
[package]
|
|
name = "vhost-user-backend"
|
|
version = "0.17.0"
|
|
authors = ["The Cloud Hypervisor Authors"]
|
|
keywords = ["vhost-user", "virtio"]
|
|
description = "A framework to build vhost-user backend service daemon"
|
|
repository = "https://github.com/rust-vmm/vhost"
|
|
edition = "2021"
|
|
license = "Apache-2.0"
|
|
|
|
[features]
|
|
xen = ["vm-memory/xen", "vhost/xen"]
|
|
postcopy = ["vhost/postcopy", "userfaultfd"]
|
|
|
|
[dependencies]
|
|
libc = "0.2.39"
|
|
log = "0.4.17"
|
|
userfaultfd = { version = "0.8.1", optional = true }
|
|
vhost = { path = "../vhost", version = "0.13.0", features = ["vhost-user-backend"] }
|
|
virtio-bindings = { workspace = true }
|
|
virtio-queue = { workspace = true }
|
|
vm-memory = { workspace = true, features = ["backend-mmap", "backend-atomic", "backend-bitmap"] }
|
|
vmm-sys-util = { workspace = true }
|
|
|
|
[dev-dependencies]
|
|
nix = { version = "0.29", features = ["fs"] }
|
|
uuid = { version = "1.8.0", features=["v4"] }
|
|
vhost = { path = "../vhost", version = "0.13.0", features = ["test-utils", "vhost-user-frontend", "vhost-user-backend"] }
|
|
vm-memory = { workspace = true, features = ["backend-mmap", "backend-atomic"] }
|
|
tempfile = "3.2.0"
|