mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2026-08-05 02:19:16 +00:00
pci: use vfio-bindings from crates.io
This fixes `cargo vendor` throwing an error ``` $ cargo vendor error: failed to sync Caused by: found duplicate version of package `vfio-bindings v0.2.0` vendored from two sources: source 1: https://github.com/rust-vmm/vfio-bindings#f08cbcbf source 2: registry `https://github.com/rust-lang/crates.io-index` ``` Both sources are indeed same, the conflict is only cause by the different URLs. Signed-off-by: Anatol Belski <ab@php.net>
This commit is contained in:
committed by
Rob Bradford
parent
0f1ab38ded
commit
4f33ea89cf
13
Cargo.lock
generated
13
Cargo.lock
generated
@@ -747,7 +747,7 @@ dependencies = [
|
|||||||
"serde",
|
"serde",
|
||||||
"serde_derive",
|
"serde_derive",
|
||||||
"serde_json",
|
"serde_json",
|
||||||
"vfio-bindings 0.2.0 (git+https://github.com/rust-vmm/vfio-bindings)",
|
"vfio-bindings",
|
||||||
"vfio-ioctls",
|
"vfio-ioctls",
|
||||||
"vm-allocator",
|
"vm-allocator",
|
||||||
"vm-device",
|
"vm-device",
|
||||||
@@ -1409,17 +1409,12 @@ checksum = "f1bddf1187be692e79c5ffeab891132dfb0f236ed36a43c7ed39f1165ee20191"
|
|||||||
[[package]]
|
[[package]]
|
||||||
name = "vfio-bindings"
|
name = "vfio-bindings"
|
||||||
version = "0.2.0"
|
version = "0.2.0"
|
||||||
source = "git+https://github.com/rust-vmm/vfio-bindings#f08cbcbf4041c981441d9c036c49ebad5098ed1c"
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
|
checksum = "4a21f546f2bda37f5a8cfb138c87f95b8e34d2d78d6a7a92ba3785f4e08604a7"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"vmm-sys-util",
|
"vmm-sys-util",
|
||||||
]
|
]
|
||||||
|
|
||||||
[[package]]
|
|
||||||
name = "vfio-bindings"
|
|
||||||
version = "0.2.0"
|
|
||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
||||||
checksum = "4a21f546f2bda37f5a8cfb138c87f95b8e34d2d78d6a7a92ba3785f4e08604a7"
|
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "vfio-ioctls"
|
name = "vfio-ioctls"
|
||||||
version = "0.1.0"
|
version = "0.1.0"
|
||||||
@@ -1429,7 +1424,7 @@ dependencies = [
|
|||||||
"kvm-bindings",
|
"kvm-bindings",
|
||||||
"kvm-ioctls",
|
"kvm-ioctls",
|
||||||
"log 0.4.11",
|
"log 0.4.11",
|
||||||
"vfio-bindings 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
"vfio-bindings",
|
||||||
"vm-memory",
|
"vm-memory",
|
||||||
"vmm-sys-util",
|
"vmm-sys-util",
|
||||||
]
|
]
|
||||||
|
|||||||
@@ -22,5 +22,5 @@ vm-memory = "0.2.1"
|
|||||||
vm-migration = { path = "../vm-migration" }
|
vm-migration = { path = "../vm-migration" }
|
||||||
|
|
||||||
[dependencies.vfio-bindings]
|
[dependencies.vfio-bindings]
|
||||||
git = "https://github.com/rust-vmm/vfio-bindings"
|
version = "0.2.0"
|
||||||
features = ["fam-wrappers"]
|
features = ["fam-wrappers"]
|
||||||
|
|||||||
Reference in New Issue
Block a user