2019-02-21 17:04:44 +01:00
|
|
|
[package]
|
|
|
|
name = "cloud-hypervisor"
|
2020-12-10 15:52:43 +00:00
|
|
|
version = "0.12.0"
|
2019-02-21 17:04:44 +01:00
|
|
|
authors = ["The Cloud Hypervisor Authors"]
|
|
|
|
edition = "2018"
|
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"
|
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]
|
2020-10-26 16:16:56 +00:00
|
|
|
anyhow = "1.0"
|
2020-10-23 11:20:37 +01:00
|
|
|
api_client = { path = "api_client" }
|
2020-08-14 02:32:59 +00:00
|
|
|
clap = { version = "2.33.3", features = ["wrap_help"] }
|
2020-10-26 16:46:04 -07:00
|
|
|
epoll = ">=4.0.1"
|
2020-06-07 17:50:38 -07:00
|
|
|
hypervisor = { path = "hypervisor" }
|
2020-12-08 05:46:11 +00:00
|
|
|
libc = "0.2.81"
|
2020-07-16 01:25:13 +00:00
|
|
|
log = { version = "0.4.11", features = ["std"] }
|
2020-09-08 15:51:00 +01:00
|
|
|
option_parser = { path = "option_parser" }
|
2020-08-06 06:10:10 +00:00
|
|
|
seccomp = { git = "https://github.com/firecracker-microvm/firecracker", tag = "v0.22.0" }
|
2020-12-02 21:25:14 +00:00
|
|
|
serde_json = "1.0.60"
|
2020-10-26 16:16:56 +00:00
|
|
|
thiserror = "1.0"
|
2019-06-03 16:40:09 +02:00
|
|
|
vmm = { path = "vmm" }
|
2020-11-13 14:44:32 +00:00
|
|
|
vmm-sys-util = "0.7.0"
|
2020-10-28 16:40:50 -07:00
|
|
|
wait-timeout = "0.2.0"
|
2020-11-23 00:13:14 +01:00
|
|
|
vm-memory = "0.4.0"
|
2019-05-23 16:45:13 +01:00
|
|
|
|
2020-09-04 14:31:38 -07:00
|
|
|
[build-dependencies]
|
|
|
|
clap = { version = "2.33.3", features = ["wrap_help"] }
|
|
|
|
|
2020-10-07 19:14:13 +02:00
|
|
|
# List of patched crates
|
2020-10-06 08:48:54 +02:00
|
|
|
[patch.'https://github.com/rust-vmm/vhost']
|
|
|
|
vhost_rs = { git = "https://github.com/cloud-hypervisor/vhost", branch = "ch", package = "vhost", features = ["vhost-user-master", "vhost-user-slave"] }
|
|
|
|
|
2019-05-23 16:45:13 +01:00
|
|
|
[dev-dependencies]
|
2020-11-23 11:00:57 +01:00
|
|
|
ssh2 = "0.9.0"
|
2020-07-06 09:39:44 +01:00
|
|
|
dirs = "3.0.1"
|
2019-06-04 16:24:39 +01:00
|
|
|
credibility = "0.1.3"
|
2020-07-03 15:26:53 +01:00
|
|
|
tempdir = "0.3.7"
|
2019-08-26 01:05:43 +00:00
|
|
|
lazy_static= "1.4.0"
|
2020-03-19 10:48:17 +00:00
|
|
|
tempfile = "3.1.0"
|
2020-12-02 21:25:14 +00:00
|
|
|
serde_json = "1.0.60"
|
2020-05-15 10:19:51 +01:00
|
|
|
net_util = { path = "net_util" }
|
2019-05-23 16:45:13 +01:00
|
|
|
|
|
|
|
[features]
|
2020-10-27 08:16:26 +00:00
|
|
|
default = ["acpi", "cmos", "io_uring", "kvm"]
|
2020-12-08 09:39:06 -08:00
|
|
|
# Common features for all hypervisors
|
|
|
|
common = ["acpi", "cmos", "fwdebug", "io_uring"]
|
2019-09-05 16:29:55 +01:00
|
|
|
acpi = ["vmm/acpi"]
|
2019-10-02 15:21:54 +01:00
|
|
|
cmos = ["vmm/cmos"]
|
2020-04-17 10:39:28 +01:00
|
|
|
fwdebug = ["vmm/fwdebug"]
|
2020-07-07 11:06:40 +00:00
|
|
|
kvm = ["vmm/kvm"]
|
2020-12-03 14:14:04 -08:00
|
|
|
mshv = ["vmm/mshv"]
|
2020-08-03 08:32:28 +02:00
|
|
|
io_uring = ["vmm/io_uring"]
|
2019-05-23 16:45:13 +01:00
|
|
|
|
|
|
|
# Integration tests require a special environment to run in
|
|
|
|
integration_tests = []
|
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
|
|
|
"arch_gen",
|
|
|
|
"block_util",
|
2020-01-02 18:40:37 +00:00
|
|
|
"devices",
|
2020-07-15 10:37:57 +01:00
|
|
|
"hypervisor",
|
|
|
|
"net_gen",
|
|
|
|
"net_util",
|
|
|
|
"option_parser",
|
2020-01-02 18:40:37 +00:00
|
|
|
"pci",
|
2020-07-15 10:37:57 +01:00
|
|
|
"qcow",
|
2019-09-26 19:32:24 +08:00
|
|
|
"vhost_user_backend",
|
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
|
|
|
]
|