From db151819f1a7f60cc8d9bec7b15b4ec2f7e4e6df Mon Sep 17 00:00:00 2001 From: Cathy Zhang Date: Thu, 26 Sep 2019 19:32:24 +0800 Subject: [PATCH] Cargo.toml: Add workspace config changes Remove workspace from vhost_user_backend/Cargo.toml to have vhost-user-backend compiled in cloud-hypervisor. Add workspace in Cargo.toml to have vhost-user-backend consumed by vhost-user-net. Signed-off-by: Cathy Zhang --- Cargo.toml | 3 +++ vhost_user_backend/Cargo.toml | 1 - 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index f3836feb7..0a87d0c8e 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -29,3 +29,6 @@ mmio = ["vmm/mmio_support"] integration_tests = [] [workspace] +members = [ + "vhost_user_backend", +] diff --git a/vhost_user_backend/Cargo.toml b/vhost_user_backend/Cargo.toml index 4e49171c9..a96b58548 100644 --- a/vhost_user_backend/Cargo.toml +++ b/vhost_user_backend/Cargo.toml @@ -20,4 +20,3 @@ vmm-sys-util = { git = "https://github.com/rust-vmm/vmm-sys-util" } path = "../vhost_rs" features = ["vhost-user-slave"] -[workspace]