mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2024-12-22 13:45:20 +00:00
ba78e331c6
Currently `devices` module cannot be solely built, by specifying `arch/kvm` to turn on the features required for its dependency - `arch` crate to build. Thus enabling `devices` crate to be built and tested with command: ```sh cargo build -p devices --features kvm ``` Signed-off-by: Ruoqing He <heruoqing@iscas.ac.cn>
39 lines
944 B
TOML
39 lines
944 B
TOML
[package]
|
|
authors = ["The Chromium OS Authors"]
|
|
edition = "2021"
|
|
name = "devices"
|
|
version = "0.1.0"
|
|
|
|
[dependencies]
|
|
acpi_tables = { workspace = true }
|
|
anyhow = "1.0.94"
|
|
arch = { path = "../arch" }
|
|
bitflags = "2.6.0"
|
|
byteorder = "1.5.0"
|
|
event_monitor = { path = "../event_monitor" }
|
|
hypervisor = { path = "../hypervisor" }
|
|
libc = "0.2.167"
|
|
log = "0.4.22"
|
|
num_enum = "0.7.2"
|
|
pci = { path = "../pci" }
|
|
serde = { version = "1.0.208", features = ["derive"] }
|
|
thiserror = "1.0.62"
|
|
tpm = { path = "../tpm" }
|
|
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" }
|
|
vmm-sys-util = { workspace = true }
|
|
|
|
[target.'cfg(any(target_arch = "aarch64", target_arch = "riscv64"))'.dependencies]
|
|
arch = { path = "../arch" }
|
|
|
|
[features]
|
|
default = []
|
|
kvm = ["arch/kvm"]
|
|
pvmemcontrol = []
|