mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2024-08-21 07:21:15 +00:00
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>
48 lines
1.0 KiB
TOML
48 lines
1.0 KiB
TOML
[package]
|
|
name = "cloud-hypervisor"
|
|
version = "0.3.0"
|
|
authors = ["The Cloud Hypervisor Authors"]
|
|
edition = "2018"
|
|
|
|
[dependencies]
|
|
clap = "2.33.0"
|
|
epoll = "4.1.0"
|
|
lazy_static = "1.4.0"
|
|
libc = "0.2.65"
|
|
log = { version = "0.4.8", features = ["std"] }
|
|
net_gen = { path = "net_gen" }
|
|
net_util = { path = "net_util" }
|
|
vhost_user_backend = { path = "vhost_user_backend"}
|
|
virtio-bindings = "0.1.0"
|
|
vmm = { path = "vmm" }
|
|
vm-device = { path = "vm-device" }
|
|
vm-memory = { git = "https://github.com/rust-vmm/vm-memory" }
|
|
vmm-sys-util = ">=0.1.1"
|
|
vm-virtio = { path = "vm-virtio" }
|
|
|
|
[dev-dependencies]
|
|
ssh2 = "0.5.0"
|
|
dirs = "2.0.2"
|
|
credibility = "0.1.3"
|
|
tempdir= "0.3.7"
|
|
lazy_static= "1.4.0"
|
|
|
|
[dependencies.vhost_rs]
|
|
path = "vhost_rs"
|
|
features = ["vhost-user-slave"]
|
|
|
|
[features]
|
|
default = ["acpi", "pci", "cmos"]
|
|
acpi = ["vmm/acpi"]
|
|
pci = ["vmm/pci_support"]
|
|
mmio = ["vmm/mmio_support"]
|
|
cmos = ["vmm/cmos"]
|
|
|
|
# Integration tests require a special environment to run in
|
|
integration_tests = []
|
|
|
|
[workspace]
|
|
members = [
|
|
"vhost_user_backend",
|
|
]
|