mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2024-12-22 05:35:20 +00:00
devices: Enable build with kvm
feature
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>
This commit is contained in:
parent
b6d2ac2c2e
commit
ba78e331c6
@ -34,4 +34,5 @@ arch = { path = "../arch" }
|
||||
|
||||
[features]
|
||||
default = []
|
||||
kvm = ["arch/kvm"]
|
||||
pvmemcontrol = []
|
||||
|
Loading…
Reference in New Issue
Block a user