From 30cafccd2307f51af575eefb19e875f9fe6a458b Mon Sep 17 00:00:00 2001 From: Sebastien Boeuf Date: Thu, 7 Oct 2021 10:44:23 +0200 Subject: [PATCH] deps: Move to vhost 0.2.0 There's no need to patch the vhost crate anymore since the fixes we were looking for have been released as part of 0.2.0 on crates.io. Signed-off-by: Sebastien Boeuf --- Cargo.lock | 5 +++-- Cargo.toml | 1 - fuzz/Cargo.lock | 6 ++++-- fuzz/Cargo.toml | 1 - vhost_user_backend/Cargo.toml | 2 +- vhost_user_block/Cargo.toml | 2 +- vhost_user_net/Cargo.toml | 2 +- virtio-devices/Cargo.toml | 2 +- 8 files changed, 11 insertions(+), 10 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index a552b8951..cc12e79cf 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1204,8 +1204,9 @@ dependencies = [ [[package]] name = "vhost" -version = "0.1.0" -source = "git+https://github.com/rust-vmm/vhost?branch=main#354dd56adf00614f606ff39257a1257c2f6c5b82" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2d23ddeb452fb4f837526c6298cc8a2f4948e5595b0328a3d61b5eebe51874d7" dependencies = [ "bitflags", "libc", diff --git a/Cargo.toml b/Cargo.toml index 555adafe0..0e89c05b2 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -37,7 +37,6 @@ clap = { version = "2.33.3", features = ["wrap_help"] } [patch.crates-io] kvm-bindings = { git = "https://github.com/cloud-hypervisor/kvm-bindings", branch = "ch-v0.5.0", features = ["with-serde", "fam-wrappers"] } versionize_derive = { git = "https://github.com/cloud-hypervisor/versionize_derive", branch = "ch" } -vhost = { git = "https://github.com/rust-vmm/vhost", branch = "main", features = ["vhost-user-master", "vhost-user-slave", "vhost-kern"] } [dev-dependencies] credibility = "0.1.3" diff --git a/fuzz/Cargo.lock b/fuzz/Cargo.lock index 38be89be9..375f82f9e 100644 --- a/fuzz/Cargo.lock +++ b/fuzz/Cargo.lock @@ -56,6 +56,7 @@ dependencies = [ "linux-loader", "log", "serde", + "serde_derive", "thiserror", "versionize", "versionize_derive", @@ -744,8 +745,9 @@ dependencies = [ [[package]] name = "vhost" -version = "0.1.0" -source = "git+https://github.com/rust-vmm/vhost?branch=main#354dd56adf00614f606ff39257a1257c2f6c5b82" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2d23ddeb452fb4f837526c6298cc8a2f4948e5595b0328a3d61b5eebe51874d7" dependencies = [ "bitflags", "libc", diff --git a/fuzz/Cargo.toml b/fuzz/Cargo.toml index 7ec1aa5d2..7a111a585 100644 --- a/fuzz/Cargo.toml +++ b/fuzz/Cargo.toml @@ -26,7 +26,6 @@ path = ".." [patch.crates-io] kvm-bindings = { git = "https://github.com/cloud-hypervisor/kvm-bindings", branch = "ch-v0.5.0", features = ["with-serde", "fam-wrappers"] } versionize_derive = { git = "https://github.com/cloud-hypervisor/versionize_derive", branch = "ch" } -vhost = { git = "https://github.com/rust-vmm/vhost", branch = "main", features = ["vhost-user-master", "vhost-user-slave", "vhost-kern"] } # Prevent this from interfering with workspaces [workspace] diff --git a/vhost_user_backend/Cargo.toml b/vhost_user_backend/Cargo.toml index 8d677e4da..5c37407dc 100644 --- a/vhost_user_backend/Cargo.toml +++ b/vhost_user_backend/Cargo.toml @@ -15,4 +15,4 @@ virtio-bindings = "0.1.0" vm-memory = { version = "0.6.0", features = ["backend-bitmap"] } vm-virtio = { path = "../vm-virtio" } vmm-sys-util = "0.9.0" -vhost = { version = "0.1.0", features = ["vhost-user-slave"] } +vhost = { version = "0.2.0", features = ["vhost-user-slave"] } diff --git a/vhost_user_block/Cargo.toml b/vhost_user_block/Cargo.toml index d5fb55c89..592430a1c 100644 --- a/vhost_user_block/Cargo.toml +++ b/vhost_user_block/Cargo.toml @@ -14,7 +14,7 @@ log = "0.4.14" option_parser = { path = "../option_parser" } qcow = { path = "../qcow" } vhost_user_backend = { path = "../vhost_user_backend" } -vhost = { version = "0.1.0", features = ["vhost-user-slave"] } +vhost = { version = "0.2.0", features = ["vhost-user-slave"] } virtio-bindings = "0.1.0" vm-memory = "0.6.0" vmm-sys-util = "0.9.0" diff --git a/vhost_user_net/Cargo.toml b/vhost_user_net/Cargo.toml index f1f5301ee..3b8a2f880 100644 --- a/vhost_user_net/Cargo.toml +++ b/vhost_user_net/Cargo.toml @@ -13,7 +13,7 @@ log = "0.4.14" net_util = { path = "../net_util" } option_parser = { path = "../option_parser" } vhost_user_backend = { path = "../vhost_user_backend" } -vhost = { version = "0.1.0", features = ["vhost-user-slave"] } +vhost = { version = "0.2.0", features = ["vhost-user-slave"] } virtio-bindings = "0.1.0" vm-memory = "0.6.0" vmm-sys-util = "0.9.0" diff --git a/virtio-devices/Cargo.toml b/virtio-devices/Cargo.toml index d3d847855..203a0bccf 100644 --- a/virtio-devices/Cargo.toml +++ b/virtio-devices/Cargo.toml @@ -29,7 +29,7 @@ serde_derive = "1.0.130" serde_json = "1.0.68" versionize = "0.1.6" versionize_derive = "0.1.4" -vhost = { version = "0.1.0", features = ["vhost-user-master", "vhost-user-slave", "vhost-kern"] } +vhost = { version = "0.2.0", features = ["vhost-user-master", "vhost-user-slave", "vhost-kern"] } virtio-bindings = { version = "0.1.0", features = ["virtio-v5_0_0"] } vm-allocator = { path = "../vm-allocator" } vm-device = { path = "../vm-device" }