Cargo: switch vhost_rs to external crate

As cloud-hypervisor/vhost crate (dragonball branch) is ready to be used,
switch vhost_rs from internal crate to the external one.

Signed-off-by: Eryu Guan <eguan@linux.alibaba.com>
This commit is contained in:
Eryu Guan
2020-02-25 11:26:35 +08:00
committed by Rob Bradford
parent 65a38e6f70
commit 5200bf3c59
7 changed files with 17 additions and 30 deletions
+1 -4
View File
@@ -24,10 +24,7 @@ virtio-bindings = { git = "https://github.com/rust-vmm/virtio-bindings", version
vm-allocator = { path = "../vm-allocator" }
vm-device = { path = "../vm-device" }
vmm-sys-util = ">=0.3.1"
[dependencies.vhost_rs]
path = "../vhost_rs"
features = ["vhost-user-master", "vhost-user-slave"]
vhost_rs = { git = "https://github.com/cloud-hypervisor/vhost", branch = "dragonball", package = "vhost", features = ["vhost-user-master", "vhost-user-slave"] }
[dependencies.vm-memory]
git = "https://github.com/rust-vmm/vm-memory"