1[package] 2name = "vm-device" 3version = "0.1.0" 4authors = ["The Cloud Hypervisor Authors"] 5edition = "2021" 6 7[features] 8default = [] 9kvm = ["vfio-ioctls/kvm"] 10mshv = ["vfio-ioctls/mshv"] 11 12[dependencies] 13anyhow = "1.0.56" 14thiserror = "1.0.30" 15serde = { version = "1.0.136", features = ["rc"] } 16serde_derive = "1.0.136" 17serde_json = "1.0.79" 18vfio-ioctls = { git = "https://github.com/rust-vmm/vfio", branch = "main", default-features = false } 19vm-memory = { version = "0.7.0", features = ["backend-mmap"] } 20vmm-sys-util = "0.9.0" 21 22