vhost_user_block: Rely on upstream vhost-user-backend crate

Instead of relying on the local version of vhost-user-backend, this
patch allows the block backend implementation to rely on the upstream
version of the crate from rust-vmm.

Signed-off-by: Sebastien Boeuf <sebastien.boeuf@intel.com>
This commit is contained in:
Sebastien Boeuf
2022-02-01 13:21:27 +01:00
parent e9b8126cf7
commit ac00838f34
4 changed files with 71 additions and 35 deletions

17
Cargo.lock generated
View File

@@ -1107,6 +1107,21 @@ dependencies = [
"vmm-sys-util",
]
[[package]]
name = "vhost-user-backend"
version = "0.1.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "a8db00e93514caa8987bb8b536fe962c9b66b4068583abc4c531eb97988477cd"
dependencies = [
"libc",
"log",
"vhost",
"virtio-bindings",
"virtio-queue",
"vm-memory",
"vmm-sys-util",
]
[[package]]
name = "vhost_user_backend"
version = "0.1.0"
@@ -1135,7 +1150,7 @@ dependencies = [
"option_parser",
"qcow",
"vhost",
"vhost_user_backend",
"vhost-user-backend",
"virtio-bindings",
"vm-memory",
"vmm-sys-util",