Cargo: Update dependencies for the KVM serialization work

We need the project to rely on kvm-bindings and kvm-ioctls branches
which include the serde derive to be able to serialize and deserialize
some KVM structures.

Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
This commit is contained in:
Samuel Ortiz 2020-02-17 15:28:24 +01:00 committed by Sebastien Boeuf
parent 183529d024
commit 12b036a824
5 changed files with 12 additions and 11 deletions

8
Cargo.lock generated
View File

@ -464,8 +464,7 @@ dependencies = [
[[package]]
name = "kvm-bindings"
version = "0.2.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d381156ad52005b4655a9421401f02b80f9f049e653496e3ea6639a83fc12453"
source = "git+https://github.com/cloud-hypervisor/kvm-bindings?branch=ch#3a6780089e0e2d69aaf77666524e81801c814bdd"
dependencies = [
"vmm-sys-util",
]
@ -473,8 +472,7 @@ dependencies = [
[[package]]
name = "kvm-ioctls"
version = "0.5.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d99720f5df3814a7188f095ad6774775b7635dfdd62b7c091ce7e00a51c3c109"
source = "git+https://github.com/cloud-hypervisor/kvm-ioctls?branch=ch#4999c0f4366b5cf017cf757c0d84b054881d3206"
dependencies = [
"kvm-bindings",
"libc",
@ -1465,6 +1463,8 @@ checksum = "3a6cc7e1659e545d250261676c9193732da57357cc610b12a0e7c776ed047fc9"
dependencies = [
"bitflags 1.2.1",
"libc",
"serde",
"serde_derive",
]
[[package]]

View File

@ -35,6 +35,7 @@ credibility = "0.1.3"
tempdir= "0.3.7"
lazy_static= "1.4.0"
tempfile = "3.1.0"
serde_json = ">=1.0.9"
[features]
default = ["acpi", "pci", "cmos"]

View File

@ -8,8 +8,8 @@ default = []
[dependencies]
byteorder = "1.3.4"
kvm-bindings = "0.2.0"
kvm-ioctls = "0.5.0"
kvm-bindings = { git = "https://github.com/cloud-hypervisor/kvm-bindings", branch = "ch" }
kvm-ioctls = { git = "https://github.com/cloud-hypervisor/kvm-ioctls", branch = "ch" }
libc = "0.2.68"
vm-memory = { version = "0.2.0", features = ["backend-mmap"] }

View File

@ -7,8 +7,8 @@ authors = ["The Cloud Hypervisor Authors"]
arc-swap = ">=0.4.4"
byteorder = "1.3.4"
devices = { path = "../devices" }
kvm-bindings = "0.2.0"
kvm-ioctls = "0.5.0"
kvm-bindings = { git = "https://github.com/cloud-hypervisor/kvm-bindings", branch = "ch" }
kvm-ioctls = { git = "https://github.com/cloud-hypervisor/kvm-ioctls", branch = "ch" }
libc = "0.2.68"
log = "0.4.8"
pci = { path = "../pci" }

View File

@ -19,8 +19,8 @@ anyhow = "1.0"
arch = { path = "../arch" }
devices = { path = "../devices" }
epoll = ">=4.0.1"
kvm-bindings = "0.2.0"
kvm-ioctls = "0.5.0"
kvm-bindings = { git = "https://github.com/cloud-hypervisor/kvm-bindings", branch = "ch" }
kvm-ioctls = { git = "https://github.com/cloud-hypervisor/kvm-ioctls", branch = "ch" }
lazy_static = "1.4.0"
libc = "0.2.68"
log = "0.4.8"
@ -38,7 +38,7 @@ vm-device = { path = "../vm-device" }
vm-memory = { version = "0.2.0", features = ["backend-mmap", "backend-atomic"] }
vm-migration = { path = "../vm-migration" }
vm-virtio = { path = "../vm-virtio" }
vmm-sys-util = ">=0.3.1"
vmm-sys-util = { version = ">=0.5.0", features = ["with-serde"] }
signal-hook = "0.1.13"
tempfile = "3.1.0"