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.86" 14hypervisor = { path = "../hypervisor" } 15serde = { version = "1.0.208", features = ["derive", "rc"] } 16thiserror = "1.0.62" 17vfio-ioctls = { git = "https://github.com/rust-vmm/vfio", branch = "main", default-features = false } 18vm-memory = { version = "0.14.1", features = ["backend-mmap"] } 19vmm-sys-util = "0.12.1" 20