mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2024-08-23 00:11:16 +00:00
hypervisor: make buildable independently
It was not possible to build just hypervisor with Cargo's -p flag, because it was not properly specifying the features it requires from vfio-ioctls. Signed-off-by: Alyssa Ross <hi@alyssa.is>
This commit is contained in:
parent
e32c9525c0
commit
57ea412c64
@ -6,8 +6,8 @@ edition = "2021"
|
|||||||
license = "Apache-2.0 OR BSD-3-Clause"
|
license = "Apache-2.0 OR BSD-3-Clause"
|
||||||
|
|
||||||
[features]
|
[features]
|
||||||
kvm = ["kvm-ioctls", "kvm-bindings"]
|
kvm = ["kvm-ioctls", "kvm-bindings", "vfio-ioctls/kvm"]
|
||||||
mshv = ["mshv-ioctls", "mshv-bindings"]
|
mshv = ["mshv-ioctls", "mshv-bindings", "vfio-ioctls/mshv"]
|
||||||
tdx = []
|
tdx = []
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
|
Loading…
Reference in New Issue
Block a user