[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.94" hypervisor = { path = "../hypervisor" } serde = { version = "1.0.208", features = ["derive", "rc"] } thiserror = "1.0.62" vfio-ioctls = { workspace = true, default-features = false } vm-memory = { workspace = true, features = ["backend-mmap"] } vmm-sys-util = { workspace = true }