2019-02-21 16:04:44 +00:00
|
|
|
[package]
|
|
|
|
name = "cloud-hypervisor"
|
2021-04-29 10:10:56 +00:00
|
|
|
version = "15.0.0"
|
2019-02-21 16:04:44 +00:00
|
|
|
authors = ["The Cloud Hypervisor Authors"]
|
|
|
|
edition = "2018"
|
2019-11-25 21:57:55 +00:00
|
|
|
default-run = "cloud-hypervisor"
|
2020-02-13 05:11:03 +00:00
|
|
|
build = "build.rs"
|
2020-08-09 09:39:31 +00:00
|
|
|
license = "LICENSE-APACHE & LICENSE-BSD-3-Clause"
|
|
|
|
description = "Open source Virtual Machine Monitor (VMM) that runs on top of KVM"
|
|
|
|
homepage = "https://github.com/cloud-hypervisor/cloud-hypervisor"
|
2019-02-21 16:04:44 +00:00
|
|
|
|
2020-06-17 17:15:52 +00:00
|
|
|
[profile.release]
|
|
|
|
lto = true
|
|
|
|
|
2019-02-21 16:04:44 +00:00
|
|
|
[dependencies]
|
2021-03-26 17:44:18 +00:00
|
|
|
anyhow = "1.0.40"
|
2020-10-23 10:20:37 +00:00
|
|
|
api_client = { path = "api_client" }
|
2020-08-14 02:32:59 +00:00
|
|
|
clap = { version = "2.33.3", features = ["wrap_help"] }
|
2021-02-25 16:53:46 +00:00
|
|
|
epoll = "4.3.1"
|
2021-02-17 11:19:39 +00:00
|
|
|
event_monitor = { path = "event_monitor" }
|
2020-06-08 00:50:38 +00:00
|
|
|
hypervisor = { path = "hypervisor" }
|
2021-04-27 21:13:02 +00:00
|
|
|
libc = "0.2.94"
|
2021-01-27 03:17:53 +00:00
|
|
|
log = { version = "0.4.14", features = ["std"] }
|
2020-09-08 14:51:00 +00:00
|
|
|
option_parser = { path = "option_parser" }
|
2021-05-12 12:06:01 +00:00
|
|
|
seccomp = { git = "https://github.com/firecracker-microvm/firecracker", tag = "v0.24.3" }
|
2021-02-28 05:06:16 +00:00
|
|
|
serde_json = "1.0.64"
|
2021-04-03 14:25:41 +00:00
|
|
|
signal-hook = "0.3.8"
|
2021-05-24 07:50:24 +00:00
|
|
|
thiserror = "1.0.25"
|
2019-06-03 14:40:09 +00:00
|
|
|
vmm = { path = "vmm" }
|
2021-02-25 16:53:46 +00:00
|
|
|
vmm-sys-util = "0.8.0"
|
2021-02-10 09:54:08 +00:00
|
|
|
vm-memory = "0.5.0"
|
2019-05-23 15:45:13 +00:00
|
|
|
|
2020-09-04 21:31:38 +00:00
|
|
|
[build-dependencies]
|
|
|
|
clap = { version = "2.33.3", features = ["wrap_help"] }
|
|
|
|
|
2020-10-07 17:14:13 +00:00
|
|
|
# List of patched crates
|
2021-02-23 14:01:31 +00:00
|
|
|
[patch.crates-io]
|
2021-03-08 14:17:38 +00:00
|
|
|
kvm-bindings = { git = "https://github.com/cloud-hypervisor/kvm-bindings", branch = "ch-v0.4.0", features = ["with-serde", "fam-wrappers"] }
|
2021-05-06 13:31:41 +00:00
|
|
|
versionize_derive = { git = "https://github.com/cloud-hypervisor/versionize_derive", branch = "ch" }
|
2021-02-23 14:01:31 +00:00
|
|
|
|
2019-05-23 15:45:13 +00:00
|
|
|
[dev-dependencies]
|
2019-06-04 15:24:39 +00:00
|
|
|
credibility = "0.1.3"
|
2021-04-23 22:44:20 +00:00
|
|
|
dirs = "3.0.2"
|
2019-08-26 01:05:43 +00:00
|
|
|
lazy_static= "1.4.0"
|
2020-05-15 09:19:51 +00:00
|
|
|
net_util = { path = "net_util" }
|
2021-02-28 05:06:16 +00:00
|
|
|
serde_json = "1.0.64"
|
2021-03-23 16:15:48 +00:00
|
|
|
test_infra = { path = "test_infra" }
|
2021-02-22 15:48:16 +00:00
|
|
|
wait-timeout = "0.2.0"
|
2019-05-23 15:45:13 +00:00
|
|
|
|
|
|
|
[features]
|
2020-10-27 08:16:26 +00:00
|
|
|
default = ["acpi", "cmos", "io_uring", "kvm"]
|
2020-12-08 17:39:06 +00:00
|
|
|
# Common features for all hypervisors
|
|
|
|
common = ["acpi", "cmos", "fwdebug", "io_uring"]
|
2019-09-05 15:29:55 +00:00
|
|
|
acpi = ["vmm/acpi"]
|
2019-10-02 14:21:54 +00:00
|
|
|
cmos = ["vmm/cmos"]
|
2020-04-17 09:39:28 +00:00
|
|
|
fwdebug = ["vmm/fwdebug"]
|
2020-07-07 11:06:40 +00:00
|
|
|
kvm = ["vmm/kvm"]
|
2020-12-03 22:14:04 +00:00
|
|
|
mshv = ["vmm/mshv"]
|
2020-08-03 06:32:28 +00:00
|
|
|
io_uring = ["vmm/io_uring"]
|
2021-02-03 10:02:18 +00:00
|
|
|
tdx = ["vmm/tdx"]
|
2019-05-23 15:45:13 +00:00
|
|
|
|
|
|
|
# Integration tests require a special environment to run in
|
|
|
|
integration_tests = []
|
2019-07-16 09:54:33 +00:00
|
|
|
|
|
|
|
[workspace]
|
2019-09-26 11:32:24 +00:00
|
|
|
members = [
|
2020-07-15 09:37:57 +00:00
|
|
|
"acpi_tables",
|
2020-10-23 10:20:37 +00:00
|
|
|
"api_client",
|
2020-01-02 18:40:37 +00:00
|
|
|
"arch",
|
2020-07-15 09:37:57 +00:00
|
|
|
"block_util",
|
2020-01-02 18:40:37 +00:00
|
|
|
"devices",
|
2021-02-17 11:16:00 +00:00
|
|
|
"event_monitor",
|
2020-07-15 09:37:57 +00:00
|
|
|
"hypervisor",
|
|
|
|
"net_gen",
|
|
|
|
"net_util",
|
|
|
|
"option_parser",
|
2020-01-02 18:40:37 +00:00
|
|
|
"pci",
|
2020-07-15 09:37:57 +00:00
|
|
|
"qcow",
|
2021-03-22 18:23:51 +00:00
|
|
|
"rate_limiter",
|
2019-09-26 11:32:24 +00:00
|
|
|
"vhost_user_backend",
|
2020-07-15 09:37:57 +00:00
|
|
|
"vhost_user_block",
|
2020-01-20 16:10:21 +00:00
|
|
|
"vhost_user_net",
|
2020-07-15 09:37:57 +00:00
|
|
|
"virtio-devices",
|
|
|
|
"vmm",
|
2020-01-02 18:40:37 +00:00
|
|
|
"vm-allocator",
|
2020-07-15 09:37:57 +00:00
|
|
|
"vm-device",
|
|
|
|
"vm-migration",
|
|
|
|
"vm-virtio"
|
2019-09-26 11:32:24 +00:00
|
|
|
]
|
2021-03-23 16:15:48 +00:00
|
|
|
exclude = ["test_infra"]
|