Remove vhost_user_devices crate

BUG=b:195495971
TEST=cargo build

Change-Id: Ib1b43e40fbdcebb7dc66c5a5f349b8de2da25cb5
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/crosvm/+/3070725
Tested-by: kokoro <noreply+kokoro@google.com>
Commit-Queue: Keiichi Watanabe <keiichiw@chromium.org>
Reviewed-by: Chirantan Ekbote <chirantan@chromium.org>
This commit is contained in:
Keiichi Watanabe 2021-08-16 17:23:43 +09:00 committed by Commit Bot
parent e3364b743a
commit 12a694e45e
7 changed files with 0 additions and 78 deletions

8
Cargo.lock generated
View file

@ -1243,14 +1243,6 @@ dependencies = [
"vm_memory",
]
[[package]]
name = "vhost_user_devices"
version = "0.1.0"
dependencies = [
"anyhow",
"devices",
]
[[package]]
name = "virtio_sys"
version = "0.1.0"

View file

@ -32,7 +32,6 @@ members = [
"qcow_utils",
"integration_tests",
"libcrosvm_control",
"vhost_user_devices",
]
exclude = [
"assertions",

View file

@ -1,25 +0,0 @@
[package]
name = "vhost_user_devices"
version = "0.1.0"
authors = ["The Chromium OS Authors"]
edition = "2018"
[[bin]]
name = "vhost-user-console-device"
path = "src/console_device.rs"
[[bin]]
name = "vhost-user-net-device"
path = "src/net_device.rs"
[[bin]]
name = "vhost-user-wl-device"
path = "src/wl_device.rs"
[[bin]]
name = "vhost-user-block-device"
path = "src/block_device.rs"
[dependencies]
anyhow = "*"
devices = { path = "../devices", features = ["minigbm"] }

View file

@ -1,11 +0,0 @@
// Copyright 2021 The Chromium OS Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
use devices::virtio::vhost::user::device::run_block_device;
fn main() -> anyhow::Result<()> {
let mut args = std::env::args();
let program_name = args.next().expect("empty args");
run_block_device(&program_name, args)
}

View file

@ -1,11 +0,0 @@
// Copyright 2021 The Chromium OS Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
use devices::virtio::vhost::user::device::run_console_device;
fn main() -> anyhow::Result<()> {
let mut args = std::env::args();
let program_name = args.next().expect("empty args");
run_console_device(&program_name, args)
}

View file

@ -1,11 +0,0 @@
// Copyright 2021 The Chromium OS Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
use devices::virtio::vhost::user::device::run_net_device;
fn main() -> anyhow::Result<()> {
let mut args = std::env::args();
let program_name = args.next().expect("empty args");
run_net_device(&program_name, args)
}

View file

@ -1,11 +0,0 @@
// Copyright 2021 The Chromium OS Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
use devices::virtio::vhost::user::device::run_wl_device;
fn main() -> anyhow::Result<()> {
let mut args = std::env::args();
let program_name = args.next().expect("empty args");
run_wl_device(&program_name, args)
}