1[package] 2authors = ["The Cloud Hypervisor Authors"] 3edition = "2021" 4name = "vm-device" 5version = "0.1.0" 6 7[features] 8default = [] 9kvm = ["vfio-ioctls/kvm"] 10mshv = ["vfio-ioctls/mshv"] 11 12[dependencies] 13anyhow = "1.0.94" 14hypervisor = { path = "../hypervisor" } 15serde = { version = "1.0.208", features = ["derive", "rc"] } 16thiserror = { workspace = true } 17vfio-ioctls = { workspace = true, default-features = false } 18vm-memory = { workspace = true, features = ["backend-mmap"] } 19vmm-sys-util = { workspace = true } 20