build: use vfio-ioctls that supports MSHV

Disable default features and propagate hypervisor selection where
necessary.

Signed-off-by: Wei Liu <liuwe@microsoft.com>
This commit is contained in:
Wei Liu
2021-09-02 09:44:08 +00:00
committed by LIU Wei
parent e4abf2ce6c
commit 10b954e954
5 changed files with 13 additions and 5 deletions

View File

@@ -7,6 +7,7 @@ edition = "2018"
[features]
default = []
kvm = ["vfio-ioctls/kvm"]
mshv = ["vfio-ioctls/mshv"]
[dependencies]
anyhow = "1.0.43"