mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2024-11-05 11:31:14 +00:00
587a420429
We need to rely on the latest kvm-ioctls version to benefit from the recent addition of unregister_ioevent(), allowing us to detach a previously registered eventfd to a PIO or MMIO guest address. Because of this update, we had to modify the current constraint we had on the vmm-sys-util crate, using ">= 0.1.1" instead of being strictly tied to "0.2.0". Once the dependency conflict resolved, this commit took care of fixing build issues caused by recent modification of kvm-ioctls relying on EventFd reference instead of RawFd. Signed-off-by: Sebastien Boeuf <sebastien.boeuf@intel.com>
26 lines
501 B
TOML
26 lines
501 B
TOML
[package]
|
|
name = "vhost_rs"
|
|
version = "0.1.0"
|
|
authors = ["Liu Jiang <gerry@linux.alibaba.com>"]
|
|
repository = "https://github.com/rust-vmm/vhost"
|
|
license = "Apache-2.0 or BSD-3-Clause"
|
|
|
|
[features]
|
|
default = []
|
|
vhost-vsock = []
|
|
vhost-kern = ["vm-memory"]
|
|
vhost-user-master = []
|
|
vhost-user-slave = []
|
|
|
|
[dependencies]
|
|
bitflags = "1.1.0"
|
|
libc = "0.2.60"
|
|
vmm-sys-util = ">=0.1.1"
|
|
|
|
[dependencies.vm-memory]
|
|
git = "https://github.com/rust-vmm/vm-memory"
|
|
optional = true
|
|
|
|
[dev-dependencies]
|
|
tempfile = "3.1.0"
|