mirror of
https://github.com/kata-containers/kata-containers.git
synced 2026-01-24 22:15:40 +00:00
runtime-rs: Refactor feature propagation
After runtime-rs workspace merged into root workspace, features passed when building runtime-rs needs to be refactored to be correctly propagated. Taking dragonball for example, runtime-rs requires runtimes to depend on virt_conttainers feature, and virt_containers needs to handle hypervisor features specifically. Signed-off-by: Ruoqing He <heruoqing@iscas.ac.cn>
This commit is contained in:
committed by
Fabiano Fidêncio
parent
1872af7c5a
commit
6d2c66c7eb
@@ -57,5 +57,5 @@ linux = ["linux_container"]
|
||||
virt = ["virt_container"]
|
||||
wasm = ["wasm_container"]
|
||||
|
||||
dragonball = []
|
||||
cloud-hypervisor = []
|
||||
dragonball = ["virt_container/dragonball"]
|
||||
cloud-hypervisor = ["virt_container/cloud-hypervisor"]
|
||||
|
||||
@@ -44,7 +44,7 @@ resource = { workspace = true }
|
||||
default = ["cloud-hypervisor"]
|
||||
|
||||
# Enable the Cloud Hypervisor driver
|
||||
cloud-hypervisor = []
|
||||
cloud-hypervisor = ["hypervisor/cloud-hypervisor"]
|
||||
|
||||
# Enable the build-in VMM Dragtonball
|
||||
dragonball = []
|
||||
dragonball = ["hypervisor/dragonball"]
|
||||
|
||||
Reference in New Issue
Block a user