2019-02-21 17:04:44 +01:00
|
|
|
[package]
|
|
|
|
name = "cloud-hypervisor"
|
2022-04-13 12:00:01 +01:00
|
|
|
version = "23.0.0"
|
2019-02-21 17:04:44 +01:00
|
|
|
authors = ["The Cloud Hypervisor Authors"]
|
2022-04-08 15:11:04 +00:00
|
|
|
edition = "2021"
|
2019-11-25 21:57:55 +00:00
|
|
|
default-run = "cloud-hypervisor"
|
2020-02-12 21:11:03 -08:00
|
|
|
build = "build.rs"
|
2020-08-09 11:39:31 +02: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"
|
2022-02-23 11:53:19 +00:00
|
|
|
# Minimum buildable version:
|
|
|
|
# Keep in sync with version in .github/workflows/build.yaml
|
2022-04-08 15:11:04 +00:00
|
|
|
rust-version = "1.56"
|
2019-02-21 17:04:44 +01:00
|
|
|
|
2020-06-17 18:15:52 +01:00
|
|
|
[profile.release]
|
|
|
|
lto = true
|
|
|
|
|
2019-02-21 17:04:44 +01:00
|
|
|
[dependencies]
|
2022-03-07 23:49:42 +00:00
|
|
|
anyhow = "1.0.56"
|
2020-10-23 11:20:37 +01:00
|
|
|
api_client = { path = "api_client" }
|
2022-04-01 23:37:09 +00:00
|
|
|
clap = { version = "3.1.8", features = ["wrap_help","cargo"] }
|
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-07 17:50:38 -07:00
|
|
|
hypervisor = { path = "hypervisor" }
|
2022-04-12 23:19:07 +00:00
|
|
|
libc = "0.2.123"
|
2022-03-25 16:52:26 +00:00
|
|
|
log = { version = "0.4.16", features = ["std"] }
|
2020-09-08 15:51:00 +01:00
|
|
|
option_parser = { path = "option_parser" }
|
2021-10-01 10:29:21 -07:00
|
|
|
seccompiler = "0.2.0"
|
2022-02-14 23:14:11 +00:00
|
|
|
serde_json = "1.0.79"
|
2021-12-20 23:14:55 +00:00
|
|
|
signal-hook = "0.3.13"
|
2021-10-12 05:10:27 +00:00
|
|
|
thiserror = "1.0.30"
|
2019-06-03 16:40:09 +02:00
|
|
|
vmm = { path = "vmm" }
|
2021-09-15 00:12:33 +00:00
|
|
|
vmm-sys-util = "0.9.0"
|
2021-12-21 10:21:37 +01:00
|
|
|
vm-memory = "0.7.0"
|
2019-05-23 16:45:13 +01:00
|
|
|
|
2020-09-04 14:31:38 -07:00
|
|
|
[build-dependencies]
|
2022-04-08 15:11:04 +00:00
|
|
|
clap = { version = "3.1.8", features = ["cargo"] }
|
2020-09-04 14:31:38 -07:00
|
|
|
|
2020-10-07 19:14:13 +02:00
|
|
|
# List of patched crates
|
2021-02-23 15:01:31 +01:00
|
|
|
[patch.crates-io]
|
2022-02-16 14:47:12 +01:00
|
|
|
kvm-bindings = { git = "https://github.com/cloud-hypervisor/kvm-bindings", branch = "ch-v0.5.0-tdx" }
|
2021-12-04 13:57:43 +01:00
|
|
|
kvm-ioctls = { git = "https://github.com/rust-vmm/kvm-ioctls", branch = "main" }
|
2021-05-06 13:31:41 +00:00
|
|
|
versionize_derive = { git = "https://github.com/cloud-hypervisor/versionize_derive", branch = "ch" }
|
2021-02-23 15:01:31 +01:00
|
|
|
|
2019-05-23 16:45:13 +01:00
|
|
|
[dev-dependencies]
|
2021-09-15 23:09:12 +00:00
|
|
|
dirs = "4.0.0"
|
2019-08-26 01:05:43 +00:00
|
|
|
lazy_static= "1.4.0"
|
2020-05-15 10:19:51 +01:00
|
|
|
net_util = { path = "net_util" }
|
2022-02-14 23:14:11 +00:00
|
|
|
serde_json = "1.0.79"
|
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 16:45:13 +01:00
|
|
|
|
|
|
|
[features]
|
2021-09-29 13:21:07 +01:00
|
|
|
default = ["common", "kvm"]
|
2020-12-08 09:39:06 -08:00
|
|
|
# Common features for all hypervisors
|
2022-03-29 14:00:29 +01:00
|
|
|
common = ["fwdebug"]
|
2022-03-01 10:25:30 -08:00
|
|
|
amx = ["vmm/amx"]
|
2019-10-02 15:21:54 +01:00
|
|
|
cmos = ["vmm/cmos"]
|
2020-04-17 10:39:28 +01:00
|
|
|
fwdebug = ["vmm/fwdebug"]
|
2022-02-20 12:17:50 +09:00
|
|
|
gdb = ["vmm/gdb"]
|
2020-07-07 11:06:40 +00:00
|
|
|
kvm = ["vmm/kvm"]
|
2020-12-03 14:14:04 -08:00
|
|
|
mshv = ["vmm/mshv"]
|
2021-02-03 10:02:18 +00:00
|
|
|
tdx = ["vmm/tdx"]
|
2019-05-23 16:45:13 +01:00
|
|
|
|
2019-07-16 10:54:33 +01:00
|
|
|
[workspace]
|
2019-09-26 19:32:24 +08:00
|
|
|
members = [
|
2020-07-15 10:37:57 +01:00
|
|
|
"acpi_tables",
|
2020-10-23 11:20:37 +01:00
|
|
|
"api_client",
|
2020-01-02 18:40:37 +00:00
|
|
|
"arch",
|
2020-07-15 10:37:57 +01: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 10:37:57 +01:00
|
|
|
"hypervisor",
|
|
|
|
"net_gen",
|
|
|
|
"net_util",
|
|
|
|
"option_parser",
|
2020-01-02 18:40:37 +00:00
|
|
|
"pci",
|
2022-01-10 21:27:58 -08:00
|
|
|
"performance-metrics",
|
2020-07-15 10:37:57 +01:00
|
|
|
"qcow",
|
2021-03-22 11:23:51 -07:00
|
|
|
"rate_limiter",
|
2022-03-04 15:37:39 +00:00
|
|
|
"test_infra",
|
2021-06-04 11:42:36 +00:00
|
|
|
"vfio_user",
|
2021-07-26 11:51:03 -04:00
|
|
|
"vhdx",
|
2020-07-15 10:37:57 +01:00
|
|
|
"vhost_user_block",
|
2020-01-20 16:10:21 +00:00
|
|
|
"vhost_user_net",
|
2020-07-15 10:37:57 +01:00
|
|
|
"virtio-devices",
|
|
|
|
"vmm",
|
2020-01-02 18:40:37 +00:00
|
|
|
"vm-allocator",
|
2020-07-15 10:37:57 +01:00
|
|
|
"vm-device",
|
|
|
|
"vm-migration",
|
|
|
|
"vm-virtio"
|
2019-09-26 19:32:24 +08:00
|
|
|
]
|