mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2024-09-12 18:15:06 +00:00
Disable default features and propagate hypervisor selection where necessary. Signed-off-by: Wei Liu <liuwe@microsoft.com>
22 lines
535 B
TOML
22 lines
535 B
TOML
[package]
|
|
name = "vm-device"
|
|
version = "0.1.0"
|
|
authors = ["The Cloud Hypervisor Authors"]
|
|
edition = "2018"
|
|
|
|
[features]
|
|
default = []
|
|
kvm = ["vfio-ioctls/kvm"]
|
|
mshv = ["vfio-ioctls/mshv"]
|
|
|
|
[dependencies]
|
|
anyhow = "1.0.43"
|
|
thiserror = "1.0.29"
|
|
serde = { version = "1.0.130", features = ["rc"] }
|
|
serde_derive = "1.0.130"
|
|
serde_json = "1.0.67"
|
|
vfio-ioctls = { git = "https://github.com/rust-vmm/vfio-ioctls", branch = "main", default-features = false }
|
|
vm-memory = { version = "0.6.0", features = ["backend-mmap"] }
|
|
vmm-sys-util = "0.8.0"
|
|
|