[package] authors = ["The Cloud Hypervisor Authors"] edition = "2021" name = "vmm" version = "0.1.0" [features] dbus_api = ["blocking", "futures", "zbus"] default = [] dhat-heap = ["dhat"] # For heap profiling guest_debug = ["gdbstub", "gdbstub_arch", "kvm"] igvm = ["dep:igvm", "hex", "igvm_defs", "mshv-bindings", "range_map_vec"] io_uring = ["block/io_uring"] kvm = [ "arch/kvm", "hypervisor/kvm", "pci/kvm", "vfio-ioctls/kvm", "vm-device/kvm", ] mshv = ["hypervisor/mshv", "pci/mshv", "vfio-ioctls/mshv", "vm-device/mshv"] pvmemcontrol = ["devices/pvmemcontrol"] sev_snp = ["arch/sev_snp", "hypervisor/sev_snp", "virtio-devices/sev_snp"] tdx = ["arch/tdx", "hypervisor/tdx"] tracing = ["tracer/tracing"] [dependencies] acpi_tables = { workspace = true } anyhow = "1.0.94" arc-swap = "1.7.1" arch = { path = "../arch" } bitflags = "2.6.0" block = { path = "../block" } blocking = { version = "1.6.1", optional = true } cfg-if = "1.0.0" clap = "4.5.13" devices = { path = "../devices" } dhat = { version = "0.3.3", optional = true } epoll = "4.3.3" event_monitor = { path = "../event_monitor" } flume = "0.11.1" futures = { version = "0.3.30", optional = true } gdbstub = { version = "0.7.1", optional = true } gdbstub_arch = { version = "0.3.0", optional = true } hex = { version = "0.4.3", optional = true } hypervisor = { path = "../hypervisor" } igvm = { version = "0.3.3", optional = true } igvm_defs = { version = "0.3.1", optional = true } landlock = "0.4.0" libc = "0.2.167" linux-loader = { workspace = true, features = ["bzimage", "elf", "pe"] } log = "0.4.22" micro_http = { git = "https://github.com/firecracker-microvm/micro-http", branch = "main" } mshv-bindings = { workspace = true, features = [ "fam-wrappers", "with-serde", ], optional = true } net_util = { path = "../net_util" } once_cell = "1.20.2" option_parser = { path = "../option_parser" } pci = { path = "../pci" } range_map_vec = { version = "0.2.0", optional = true } rate_limiter = { path = "../rate_limiter" } seccompiler = { workspace = true } serde = { version = "1.0.208", features = ["derive", "rc"] } serde_json = "1.0.120" serial_buffer = { path = "../serial_buffer" } signal-hook = "0.3.17" thiserror = "1.0.62" tracer = { path = "../tracer" } uuid = "1.8.0" vfio-ioctls = { workspace = true, default-features = false } vfio_user = { workspace = true } virtio-devices = { path = "../virtio-devices" } virtio-queue = { workspace = true } vm-allocator = { path = "../vm-allocator" } vm-device = { path = "../vm-device" } vm-memory = { workspace = true, features = [ "backend-atomic", "backend-bitmap", "backend-mmap", ] } vm-migration = { path = "../vm-migration" } vm-virtio = { path = "../vm-virtio" } vmm-sys-util = { workspace = true, features = ["with-serde"] } zbus = { version = "4.4.0", optional = true } zerocopy = { version = "0.7.35", features = ["alloc", "derive"] }