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