Sync CVM guest feature dependencies between kernel and virtio components

This commit is contained in:
Hsy-Intel
2025-06-22 17:09:03 +08:00
committed by Tate, Hongliang Tian
parent 826f56aeed
commit 65fd1aac81
3 changed files with 6 additions and 2 deletions

View File

@ -24,9 +24,12 @@ component = { path = "../../libs/comp-sys/component" }
log = "0.4"
int-to-c-enum = { path = "../../libs/int-to-c-enum" }
[target.x86_64-unknown-none.dependencies]
tdx-guest = { version = "0.2.1", optional = true }
[features]
all = ["cvm_guest"]
cvm_guest = ["ostd/cvm_guest"]
cvm_guest = ["dep:tdx-guest", "ostd/cvm_guest"]
[lints]
workspace = true