vhost/Cargo.toml
Stefano Garzarella 866932e6cc vhost_kern: add VhostKernVdpa struct
Add a vhost-vdpa in-kernel implementation of VhostVdpa trait.

Tests are serialized since the device supports only a single user
at a time.

Signed-off-by: Stefano Garzarella <sgarzare@redhat.com>
2021-09-15 15:01:53 +08:00

32 lines
767 B
TOML

[package]
name = "vhost"
version = "0.1.0"
keywords = ["vhost", "vhost-user", "virtio", "vdpa"]
description = "a pure rust library for vdpa, vhost and vhost-user"
authors = ["Liu Jiang <gerry@linux.alibaba.com>"]
repository = "https://github.com/rust-vmm/vhost"
documentation = "https://docs.rs/vhost"
readme = "README.md"
license = "Apache-2.0 OR BSD-3-Clause"
edition = "2018"
[features]
default = []
vhost-vsock = []
vhost-kern = []
vhost-vdpa = ["vhost-kern"]
vhost-user = []
vhost-user-master = ["vhost-user"]
vhost-user-slave = ["vhost-user"]
[dependencies]
bitflags = ">=1.0.1"
libc = ">=0.2.39"
vmm-sys-util = ">=0.3.1"
vm-memory = "0.6"
[dev-dependencies]
tempfile = ">=3.2.0"
vm-memory = { version = "0.6", features=["backend-mmap"] }
serial_test = "*"