mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2024-12-22 13:45:20 +00:00
79ccb25f78
Currently `arch` crate cannot be built, by specifying `hypervisor/kvm` to turn on the features required for its dependency - `hypervisor` crate to build. Thus enabling `arch` crate to be built with command: ```sh cargo build -p arch --features kvm ``` Signed-off-by: Ruoqing He <heruoqing@iscas.ac.cn>
30 lines
788 B
TOML
30 lines
788 B
TOML
[package]
|
|
authors = ["The Chromium OS Authors"]
|
|
edition = "2021"
|
|
name = "arch"
|
|
version = "0.1.0"
|
|
|
|
[features]
|
|
default = []
|
|
kvm = ["hypervisor/kvm"]
|
|
sev_snp = []
|
|
tdx = []
|
|
|
|
[dependencies]
|
|
anyhow = "1.0.87"
|
|
byteorder = "1.5.0"
|
|
hypervisor = { path = "../hypervisor" }
|
|
libc = "0.2.158"
|
|
linux-loader = { workspace = true, features = ["bzimage", "elf", "pe"] }
|
|
log = "0.4.22"
|
|
serde = { version = "1.0.208", features = ["derive", "rc"] }
|
|
thiserror = "1.0.62"
|
|
uuid = "1.8.0"
|
|
vm-memory = { workspace = true, features = ["backend-bitmap", "backend-mmap"] }
|
|
vm-migration = { path = "../vm-migration" }
|
|
vmm-sys-util = { workspace = true, features = ["with-serde"] }
|
|
|
|
[target.'cfg(target_arch = "aarch64")'.dependencies]
|
|
fdt_parser = { version = "0.1.5", package = "fdt" }
|
|
vm-fdt = { workspace = true }
|