mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2024-08-23 08:21:15 +00:00
By having the DeviceNode storing a PciBdf, we simplify the internal code as well as allow for custom Serialize/Deserialize implementation for the PciBdf structure. These custom implementations let us display the PCI s/b/d/f in a human readable format. Fixes #3711 Signed-off-by: Sebastien Boeuf <sebastien.boeuf@intel.com>
34 lines
812 B
TOML
34 lines
812 B
TOML
[package]
|
|
name = "pci"
|
|
version = "0.1.0"
|
|
authors = ["Samuel Ortiz <sameo@linux.intel.com>"]
|
|
edition = "2018"
|
|
|
|
[features]
|
|
default = []
|
|
kvm = ["vfio-ioctls/kvm"]
|
|
mshv = ["vfio-ioctls/mshv"]
|
|
|
|
[dependencies]
|
|
anyhow = "1.0.53"
|
|
byteorder = "1.4.3"
|
|
hypervisor = { path = "../hypervisor" }
|
|
vfio-ioctls = { git = "https://github.com/rust-vmm/vfio", branch = "main", default-features = false }
|
|
vfio_user = { path = "../vfio_user" }
|
|
vmm-sys-util = "0.9.0"
|
|
libc = "0.2.118"
|
|
log = "0.4.14"
|
|
serde = "1.0.136"
|
|
serde_derive = "1.0.136"
|
|
thiserror = "1.0.30"
|
|
versionize = "0.1.6"
|
|
versionize_derive = "0.1.4"
|
|
vm-allocator = { path = "../vm-allocator" }
|
|
vm-device = { path = "../vm-device" }
|
|
vm-memory = "0.7.0"
|
|
vm-migration = { path = "../vm-migration" }
|
|
|
|
[dependencies.vfio-bindings]
|
|
version = "0.3.1"
|
|
features = ["fam-wrappers"]
|