[package] authors = ["The Cloud Hypervisor Authors"] build = "build.rs" default-run = "cloud-hypervisor" description = "Open source Virtual Machine Monitor (VMM) that runs on top of KVM & MSHV" edition = "2024" homepage = "https://github.com/cloud-hypervisor/cloud-hypervisor" license = "Apache-2.0 AND BSD-3-Clause" name = "cloud-hypervisor" rust-version.workspace = true version = "54.0.0" [dependencies] api_client = { path = "../api_client" } clap = { workspace = true, features = ["string"] } dhat = { workspace = true, optional = true } env_logger = { workspace = true } event_monitor = { path = "../event_monitor" } hypervisor = { path = "../hypervisor" } jiff = { workspace = true } libc = { workspace = true } log = { workspace = true, features = ["std"] } option_parser = { path = "../option_parser" } seccompiler = { workspace = true } serde_json = { workspace = true } signal-hook = { workspace = true } signal-hook-registry = { workspace = true } thiserror = { workspace = true } tracer = { path = "../tracer" } vm-migration = { path = "../vm-migration" } vmm = { path = "../vmm" } vmm-sys-util = { workspace = true } zbus = { version = "5.15.0", optional = true } [dev-dependencies] block = { path = "../block" } dirs = { workspace = true } net_util = { path = "../net_util" } serde_json = { workspace = true } test_infra = { path = "../test_infra" } wait-timeout = { workspace = true } # Please adjust `vmm::feature_list()` accordingly when changing the # feature list below [features] dbus_api = ["vmm/dbus_api", "zbus"] default = ["io_uring", "kvm"] dhat-heap = ["dhat", "vmm/dhat-heap"] # For heap profiling fw_cfg = ["vmm/fw_cfg"] guest_debug = ["vmm/guest_debug"] igvm = ["vmm/igvm"] io_uring = ["vmm/io_uring"] ivshmem = ["vmm/ivshmem"] kvm = ["vmm/kvm"] mshv = ["vmm/mshv"] pvmemcontrol = ["vmm/pvmemcontrol"] sev_snp = ["igvm", "vmm/sev_snp"] tdx = ["vmm/tdx"] tracing = ["tracer/tracing", "vmm/tracing"] [lints] workspace = true