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

4
Cargo.lock generated
View File

@@ -1147,12 +1147,14 @@ dependencies = [
[[package]]
name = "vfio-ioctls"
version = "0.1.0"
source = "git+https://github.com/rust-vmm/vfio-ioctls?branch=main#1080e8079976a44fd80311907cadd541a062b4bc"
source = "git+https://github.com/rust-vmm/vfio-ioctls?branch=main#a8ee64b978ccd000df88732814d626651a091891"
dependencies = [
"byteorder",
"kvm-bindings",
"kvm-ioctls",
"log",
"mshv-bindings",
"mshv-ioctls",
"vfio-bindings",
"vm-memory",
"vmm-sys-util",