[package] authors = ["The Cloud Hypervisor Authors"] edition = "2021" name = "vm-device" version = "0.1.0" [features] default = [] kvm = ["vfio-ioctls/kvm"] mshv = ["vfio-ioctls/mshv"] [dependencies] anyhow = "1.0.81" hypervisor = { path = "../hypervisor" } serde = { version = "1.0.197", features = ["derive", "rc"] } thiserror = "1.0.60" vfio-ioctls = { git = "https://github.com/rust-vmm/vfio", branch = "main", default-features = false } vm-memory = { version = "0.14.1", features = ["backend-mmap"] } vmm-sys-util = "0.12.1"