From a1e013286facaa6dfefc2de48f7bf9619c80b34b Mon Sep 17 00:00:00 2001 From: Manos Pitsidianakis Date: Tue, 26 Sep 2023 14:03:46 +0300 Subject: [PATCH] Move all crates to workspace root MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Having all the workspace crates under the crates/ directory is unnecessary. Rust documentation itself recommends all crates to be in the root directory: https://doc.rust-lang.org/book/ch14-03-cargo-workspaces.html#creating-the-second-package-in-the-workspace I paste the text content here, in case the online page ever changes or becomes unavailable: ## Creating the Second Package in the Workspace Next, let’s create another member package in the workspace and call it add_one. Change the top-level Cargo.toml to specify the add_one path in the members list: Filename: Cargo.toml [workspace] members = [ "adder", "add_one", ] Then generate a new library crate named add_one: $ cargo new add_one --lib Created library `add_one` package Your add directory should now have these directories and files: ├── Cargo.lock ├── Cargo.toml ├── add_one │ ├── Cargo.toml │ └── src │ └── lib.rs ├── adder │ ├── Cargo.toml │ └── src │ └── main.rs └── target Signed-off-by: Manos Pitsidianakis --- Cargo.toml | 12 ++++++------ README.md | 12 ++++++------ crates/vhost-device-gpio/LICENSE-APACHE | 1 - crates/vhost-device-gpio/LICENSE-BSD-3-Clause | 1 - crates/vhost-device-i2c/LICENSE-APACHE | 1 - crates/vhost-device-i2c/LICENSE-BSD-3-Clause | 1 - crates/vhost-device-rng/LICENSE-APACHE | 1 - crates/vhost-device-rng/LICENSE-BSD-3-Clause | 1 - crates/vhost-device-scmi/LICENSE-APACHE | 1 - crates/vhost-device-scmi/LICENSE-BSD-3-Clause | 1 - crates/vhost-device-scsi/LICENSE-APACHE | 1 - crates/vhost-device-scsi/LICENSE-BSD-3-Clause | 1 - crates/vhost-device-vsock/LICENSE-APACHE | 1 - crates/vhost-device-vsock/LICENSE-BSD-3-Clause | 1 - .../CHANGELOG.md | 0 .../Cargo.toml | 0 vhost-device-gpio/LICENSE-APACHE | 1 + vhost-device-gpio/LICENSE-BSD-3-Clause | 1 + .../README.md | 0 .../src/backend.rs | 0 .../src/gpio.rs | 0 .../src/main.rs | 0 .../src/mock_gpio.rs | 0 .../src/vhu_gpio.rs | 0 .../src/virtio_gpio.rs | 0 .../CHANGELOG.md | 0 .../vhost-device-i2c => vhost-device-i2c}/Cargo.toml | 0 vhost-device-i2c/LICENSE-APACHE | 1 + vhost-device-i2c/LICENSE-BSD-3-Clause | 1 + .../vhost-device-i2c => vhost-device-i2c}/README.md | 0 .../vhost-device-i2c => vhost-device-i2c}/src/i2c.rs | 0 .../src/main.rs | 0 .../src/vhu_i2c.rs | 0 .../CHANGELOG.md | 0 .../vhost-device-rng => vhost-device-rng}/Cargo.toml | 0 vhost-device-rng/LICENSE-APACHE | 1 + vhost-device-rng/LICENSE-BSD-3-Clause | 1 + .../vhost-device-rng => vhost-device-rng}/README.md | 0 .../src/main.rs | 0 .../src/vhu_rng.rs | 0 .../CHANGELOG.md | 0 .../Cargo.toml | 0 vhost-device-scmi/LICENSE-APACHE | 1 + vhost-device-scmi/LICENSE-BSD-3-Clause | 1 + .../README.md | 0 .../kernel/iio-dummy/.gitignore | 0 .../kernel/iio-dummy/Makefile | 0 .../kernel/iio-dummy/README.md | 0 .../kernel/iio-dummy/iio-dummy-fix.patch | 0 .../kernel/iio-dummy/iio_modified_dummy.c | 0 .../kernel/iio-dummy/iio_modified_dummy.h | 0 .../src/devices/common.rs | 0 .../src/devices/fake.rs | 0 .../src/devices/iio.rs | 0 .../src/devices/mod.rs | 0 .../src/main.rs | 0 .../src/scmi.rs | 0 .../src/vhu_scmi.rs | 0 .../ARCHITECTURE.md | 0 .../CHANGELOG.md | 0 .../Cargo.toml | 0 vhost-device-scsi/LICENSE-APACHE | 1 + vhost-device-scsi/LICENSE-BSD-3-Clause | 1 + .../README.md | 0 .../src/main.rs | 0 .../src/scsi/emulation/block_device.rs | 0 .../src/scsi/emulation/command.rs | 0 .../src/scsi/emulation/missing_lun.rs | 0 .../src/scsi/emulation/mod.rs | 0 .../src/scsi/emulation/mode_page.rs | 0 .../src/scsi/emulation/response_data.rs | 0 .../src/scsi/emulation/target.rs | 0 .../src/scsi/emulation/tests/bad_lun.rs | 0 .../src/scsi/emulation/tests/generic.rs | 0 .../src/scsi/emulation/tests/mod.rs | 0 .../tests/report_supported_operation_codes.rs | 0 .../src/scsi/mod.rs | 0 .../src/scsi/sense.rs | 0 .../src/vhu_scsi.rs | 0 .../src/virtio.rs | 0 .../test/.containerignore | 0 .../test/.gitignore | 0 .../test/Containerfile | 0 .../test/README.md | 0 .../test/invoke-test.sh | 0 .../test/start-test.sh | 0 .../test/test-script.sh | 0 .../CHANGELOG.md | 0 .../Cargo.toml | 0 vhost-device-vsock/LICENSE-APACHE | 1 + vhost-device-vsock/LICENSE-BSD-3-Clause | 1 + .../README.md | 0 .../src/main.rs | 0 .../src/rxops.rs | 0 .../src/rxqueue.rs | 0 .../src/thread_backend.rs | 0 .../src/txbuf.rs | 0 .../src/vhu_vsock.rs | 0 .../src/vhu_vsock_thread.rs | 0 .../src/vsock_conn.rs | 0 100 files changed, 24 insertions(+), 24 deletions(-) delete mode 120000 crates/vhost-device-gpio/LICENSE-APACHE delete mode 120000 crates/vhost-device-gpio/LICENSE-BSD-3-Clause delete mode 120000 crates/vhost-device-i2c/LICENSE-APACHE delete mode 120000 crates/vhost-device-i2c/LICENSE-BSD-3-Clause delete mode 120000 crates/vhost-device-rng/LICENSE-APACHE delete mode 120000 crates/vhost-device-rng/LICENSE-BSD-3-Clause delete mode 120000 crates/vhost-device-scmi/LICENSE-APACHE delete mode 120000 crates/vhost-device-scmi/LICENSE-BSD-3-Clause delete mode 120000 crates/vhost-device-scsi/LICENSE-APACHE delete mode 120000 crates/vhost-device-scsi/LICENSE-BSD-3-Clause delete mode 120000 crates/vhost-device-vsock/LICENSE-APACHE delete mode 120000 crates/vhost-device-vsock/LICENSE-BSD-3-Clause rename {crates/vhost-device-gpio => vhost-device-gpio}/CHANGELOG.md (100%) rename {crates/vhost-device-gpio => vhost-device-gpio}/Cargo.toml (100%) create mode 120000 vhost-device-gpio/LICENSE-APACHE create mode 120000 vhost-device-gpio/LICENSE-BSD-3-Clause rename {crates/vhost-device-gpio => vhost-device-gpio}/README.md (100%) rename {crates/vhost-device-gpio => vhost-device-gpio}/src/backend.rs (100%) rename {crates/vhost-device-gpio => vhost-device-gpio}/src/gpio.rs (100%) rename {crates/vhost-device-gpio => vhost-device-gpio}/src/main.rs (100%) rename {crates/vhost-device-gpio => vhost-device-gpio}/src/mock_gpio.rs (100%) rename {crates/vhost-device-gpio => vhost-device-gpio}/src/vhu_gpio.rs (100%) rename {crates/vhost-device-gpio => vhost-device-gpio}/src/virtio_gpio.rs (100%) rename {crates/vhost-device-i2c => vhost-device-i2c}/CHANGELOG.md (100%) rename {crates/vhost-device-i2c => vhost-device-i2c}/Cargo.toml (100%) create mode 120000 vhost-device-i2c/LICENSE-APACHE create mode 120000 vhost-device-i2c/LICENSE-BSD-3-Clause rename {crates/vhost-device-i2c => vhost-device-i2c}/README.md (100%) rename {crates/vhost-device-i2c => vhost-device-i2c}/src/i2c.rs (100%) rename {crates/vhost-device-i2c => vhost-device-i2c}/src/main.rs (100%) rename {crates/vhost-device-i2c => vhost-device-i2c}/src/vhu_i2c.rs (100%) rename {crates/vhost-device-rng => vhost-device-rng}/CHANGELOG.md (100%) rename {crates/vhost-device-rng => vhost-device-rng}/Cargo.toml (100%) create mode 120000 vhost-device-rng/LICENSE-APACHE create mode 120000 vhost-device-rng/LICENSE-BSD-3-Clause rename {crates/vhost-device-rng => vhost-device-rng}/README.md (100%) rename {crates/vhost-device-rng => vhost-device-rng}/src/main.rs (100%) rename {crates/vhost-device-rng => vhost-device-rng}/src/vhu_rng.rs (100%) rename {crates/vhost-device-scmi => vhost-device-scmi}/CHANGELOG.md (100%) rename {crates/vhost-device-scmi => vhost-device-scmi}/Cargo.toml (100%) create mode 120000 vhost-device-scmi/LICENSE-APACHE create mode 120000 vhost-device-scmi/LICENSE-BSD-3-Clause rename {crates/vhost-device-scmi => vhost-device-scmi}/README.md (100%) rename {crates/vhost-device-scmi => vhost-device-scmi}/kernel/iio-dummy/.gitignore (100%) rename {crates/vhost-device-scmi => vhost-device-scmi}/kernel/iio-dummy/Makefile (100%) rename {crates/vhost-device-scmi => vhost-device-scmi}/kernel/iio-dummy/README.md (100%) rename {crates/vhost-device-scmi => vhost-device-scmi}/kernel/iio-dummy/iio-dummy-fix.patch (100%) rename {crates/vhost-device-scmi => vhost-device-scmi}/kernel/iio-dummy/iio_modified_dummy.c (100%) rename {crates/vhost-device-scmi => vhost-device-scmi}/kernel/iio-dummy/iio_modified_dummy.h (100%) rename {crates/vhost-device-scmi => vhost-device-scmi}/src/devices/common.rs (100%) rename {crates/vhost-device-scmi => vhost-device-scmi}/src/devices/fake.rs (100%) rename {crates/vhost-device-scmi => vhost-device-scmi}/src/devices/iio.rs (100%) rename {crates/vhost-device-scmi => vhost-device-scmi}/src/devices/mod.rs (100%) rename {crates/vhost-device-scmi => vhost-device-scmi}/src/main.rs (100%) rename {crates/vhost-device-scmi => vhost-device-scmi}/src/scmi.rs (100%) rename {crates/vhost-device-scmi => vhost-device-scmi}/src/vhu_scmi.rs (100%) rename {crates/vhost-device-scsi => vhost-device-scsi}/ARCHITECTURE.md (100%) rename {crates/vhost-device-scsi => vhost-device-scsi}/CHANGELOG.md (100%) rename {crates/vhost-device-scsi => vhost-device-scsi}/Cargo.toml (100%) create mode 120000 vhost-device-scsi/LICENSE-APACHE create mode 120000 vhost-device-scsi/LICENSE-BSD-3-Clause rename {crates/vhost-device-scsi => vhost-device-scsi}/README.md (100%) rename {crates/vhost-device-scsi => vhost-device-scsi}/src/main.rs (100%) rename {crates/vhost-device-scsi => vhost-device-scsi}/src/scsi/emulation/block_device.rs (100%) rename {crates/vhost-device-scsi => vhost-device-scsi}/src/scsi/emulation/command.rs (100%) rename {crates/vhost-device-scsi => vhost-device-scsi}/src/scsi/emulation/missing_lun.rs (100%) rename {crates/vhost-device-scsi => vhost-device-scsi}/src/scsi/emulation/mod.rs (100%) rename {crates/vhost-device-scsi => vhost-device-scsi}/src/scsi/emulation/mode_page.rs (100%) rename {crates/vhost-device-scsi => vhost-device-scsi}/src/scsi/emulation/response_data.rs (100%) rename {crates/vhost-device-scsi => vhost-device-scsi}/src/scsi/emulation/target.rs (100%) rename {crates/vhost-device-scsi => vhost-device-scsi}/src/scsi/emulation/tests/bad_lun.rs (100%) rename {crates/vhost-device-scsi => vhost-device-scsi}/src/scsi/emulation/tests/generic.rs (100%) rename {crates/vhost-device-scsi => vhost-device-scsi}/src/scsi/emulation/tests/mod.rs (100%) rename {crates/vhost-device-scsi => vhost-device-scsi}/src/scsi/emulation/tests/report_supported_operation_codes.rs (100%) rename {crates/vhost-device-scsi => vhost-device-scsi}/src/scsi/mod.rs (100%) rename {crates/vhost-device-scsi => vhost-device-scsi}/src/scsi/sense.rs (100%) rename {crates/vhost-device-scsi => vhost-device-scsi}/src/vhu_scsi.rs (100%) rename {crates/vhost-device-scsi => vhost-device-scsi}/src/virtio.rs (100%) rename {crates/vhost-device-scsi => vhost-device-scsi}/test/.containerignore (100%) rename {crates/vhost-device-scsi => vhost-device-scsi}/test/.gitignore (100%) rename {crates/vhost-device-scsi => vhost-device-scsi}/test/Containerfile (100%) rename {crates/vhost-device-scsi => vhost-device-scsi}/test/README.md (100%) rename {crates/vhost-device-scsi => vhost-device-scsi}/test/invoke-test.sh (100%) rename {crates/vhost-device-scsi => vhost-device-scsi}/test/start-test.sh (100%) rename {crates/vhost-device-scsi => vhost-device-scsi}/test/test-script.sh (100%) rename {crates/vhost-device-vsock => vhost-device-vsock}/CHANGELOG.md (100%) rename {crates/vhost-device-vsock => vhost-device-vsock}/Cargo.toml (100%) create mode 120000 vhost-device-vsock/LICENSE-APACHE create mode 120000 vhost-device-vsock/LICENSE-BSD-3-Clause rename {crates/vhost-device-vsock => vhost-device-vsock}/README.md (100%) rename {crates/vhost-device-vsock => vhost-device-vsock}/src/main.rs (100%) rename {crates/vhost-device-vsock => vhost-device-vsock}/src/rxops.rs (100%) rename {crates/vhost-device-vsock => vhost-device-vsock}/src/rxqueue.rs (100%) rename {crates/vhost-device-vsock => vhost-device-vsock}/src/thread_backend.rs (100%) rename {crates/vhost-device-vsock => vhost-device-vsock}/src/txbuf.rs (100%) rename {crates/vhost-device-vsock => vhost-device-vsock}/src/vhu_vsock.rs (100%) rename {crates/vhost-device-vsock => vhost-device-vsock}/src/vhu_vsock_thread.rs (100%) rename {crates/vhost-device-vsock => vhost-device-vsock}/src/vsock_conn.rs (100%) diff --git a/Cargo.toml b/Cargo.toml index 4f76d61..6037899 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -2,10 +2,10 @@ resolver = "2" members = [ - "crates/vhost-device-gpio", - "crates/vhost-device-i2c", - "crates/vhost-device-rng", - "crates/vhost-device-scsi", - "crates/vhost-device-scmi", - "crates/vhost-device-vsock", + "vhost-device-gpio", + "vhost-device-i2c", + "vhost-device-rng", + "vhost-device-scsi", + "vhost-device-scmi", + "vhost-device-vsock", ] diff --git a/README.md b/README.md index 9de1b49..6e9d27e 100644 --- a/README.md +++ b/README.md @@ -8,12 +8,12 @@ crates. Here is the list of device backends that we support: -- [GPIO](https://github.com/rust-vmm/vhost-device/blob/main/crates/vhost-device-gpio/README.md) -- [I2C](https://github.com/rust-vmm/vhost-device/blob/main/crates/vhost-device-i2c/README.md) -- [RNG](https://github.com/rust-vmm/vhost-device/blob/main/crates/vhost-device-rng/README.md) -- [SCMI](https://github.com/rust-vmm/vhost-device/blob/main/crates/vhost-device-scmi/README.md) -- [SCSI](https://github.com/rust-vmm/vhost-device/blob/main/crates/vhost-device-scsi/README.md) -- [VSOCK](https://github.com/rust-vmm/vhost-device/blob/main/crates/vhost-device-vsock/README.md) +- [GPIO](https://github.com/rust-vmm/vhost-device/blob/main/vhost-device-gpio/README.md) +- [I2C](https://github.com/rust-vmm/vhost-device/blob/main/vhost-device-i2c/README.md) +- [RNG](https://github.com/rust-vmm/vhost-device/blob/main/vhost-device-rng/README.md) +- [SCMI](https://github.com/rust-vmm/vhost-device/blob/main/vhost-device-scmi/README.md) +- [SCSI](https://github.com/rust-vmm/vhost-device/blob/main/vhost-device-scsi/README.md) +- [VSOCK](https://github.com/rust-vmm/vhost-device/blob/main/vhost-device-vsock/README.md) For `vhost-user` device backends that have no final specification merged into the [VIRTIO specification](https://github.com/oasis-tcs/virtio-spec), or have partial functionality, we have a [staging diff --git a/crates/vhost-device-gpio/LICENSE-APACHE b/crates/vhost-device-gpio/LICENSE-APACHE deleted file mode 120000 index 1cd601d..0000000 --- a/crates/vhost-device-gpio/LICENSE-APACHE +++ /dev/null @@ -1 +0,0 @@ -../../LICENSE-APACHE \ No newline at end of file diff --git a/crates/vhost-device-gpio/LICENSE-BSD-3-Clause b/crates/vhost-device-gpio/LICENSE-BSD-3-Clause deleted file mode 120000 index a60f1af..0000000 --- a/crates/vhost-device-gpio/LICENSE-BSD-3-Clause +++ /dev/null @@ -1 +0,0 @@ -../../LICENSE-BSD-3-Clause \ No newline at end of file diff --git a/crates/vhost-device-i2c/LICENSE-APACHE b/crates/vhost-device-i2c/LICENSE-APACHE deleted file mode 120000 index 1cd601d..0000000 --- a/crates/vhost-device-i2c/LICENSE-APACHE +++ /dev/null @@ -1 +0,0 @@ -../../LICENSE-APACHE \ No newline at end of file diff --git a/crates/vhost-device-i2c/LICENSE-BSD-3-Clause b/crates/vhost-device-i2c/LICENSE-BSD-3-Clause deleted file mode 120000 index a60f1af..0000000 --- a/crates/vhost-device-i2c/LICENSE-BSD-3-Clause +++ /dev/null @@ -1 +0,0 @@ -../../LICENSE-BSD-3-Clause \ No newline at end of file diff --git a/crates/vhost-device-rng/LICENSE-APACHE b/crates/vhost-device-rng/LICENSE-APACHE deleted file mode 120000 index 1cd601d..0000000 --- a/crates/vhost-device-rng/LICENSE-APACHE +++ /dev/null @@ -1 +0,0 @@ -../../LICENSE-APACHE \ No newline at end of file diff --git a/crates/vhost-device-rng/LICENSE-BSD-3-Clause b/crates/vhost-device-rng/LICENSE-BSD-3-Clause deleted file mode 120000 index a60f1af..0000000 --- a/crates/vhost-device-rng/LICENSE-BSD-3-Clause +++ /dev/null @@ -1 +0,0 @@ -../../LICENSE-BSD-3-Clause \ No newline at end of file diff --git a/crates/vhost-device-scmi/LICENSE-APACHE b/crates/vhost-device-scmi/LICENSE-APACHE deleted file mode 120000 index 1cd601d..0000000 --- a/crates/vhost-device-scmi/LICENSE-APACHE +++ /dev/null @@ -1 +0,0 @@ -../../LICENSE-APACHE \ No newline at end of file diff --git a/crates/vhost-device-scmi/LICENSE-BSD-3-Clause b/crates/vhost-device-scmi/LICENSE-BSD-3-Clause deleted file mode 120000 index a60f1af..0000000 --- a/crates/vhost-device-scmi/LICENSE-BSD-3-Clause +++ /dev/null @@ -1 +0,0 @@ -../../LICENSE-BSD-3-Clause \ No newline at end of file diff --git a/crates/vhost-device-scsi/LICENSE-APACHE b/crates/vhost-device-scsi/LICENSE-APACHE deleted file mode 120000 index 1cd601d..0000000 --- a/crates/vhost-device-scsi/LICENSE-APACHE +++ /dev/null @@ -1 +0,0 @@ -../../LICENSE-APACHE \ No newline at end of file diff --git a/crates/vhost-device-scsi/LICENSE-BSD-3-Clause b/crates/vhost-device-scsi/LICENSE-BSD-3-Clause deleted file mode 120000 index a60f1af..0000000 --- a/crates/vhost-device-scsi/LICENSE-BSD-3-Clause +++ /dev/null @@ -1 +0,0 @@ -../../LICENSE-BSD-3-Clause \ No newline at end of file diff --git a/crates/vhost-device-vsock/LICENSE-APACHE b/crates/vhost-device-vsock/LICENSE-APACHE deleted file mode 120000 index 1cd601d..0000000 --- a/crates/vhost-device-vsock/LICENSE-APACHE +++ /dev/null @@ -1 +0,0 @@ -../../LICENSE-APACHE \ No newline at end of file diff --git a/crates/vhost-device-vsock/LICENSE-BSD-3-Clause b/crates/vhost-device-vsock/LICENSE-BSD-3-Clause deleted file mode 120000 index a60f1af..0000000 --- a/crates/vhost-device-vsock/LICENSE-BSD-3-Clause +++ /dev/null @@ -1 +0,0 @@ -../../LICENSE-BSD-3-Clause \ No newline at end of file diff --git a/crates/vhost-device-gpio/CHANGELOG.md b/vhost-device-gpio/CHANGELOG.md similarity index 100% rename from crates/vhost-device-gpio/CHANGELOG.md rename to vhost-device-gpio/CHANGELOG.md diff --git a/crates/vhost-device-gpio/Cargo.toml b/vhost-device-gpio/Cargo.toml similarity index 100% rename from crates/vhost-device-gpio/Cargo.toml rename to vhost-device-gpio/Cargo.toml diff --git a/vhost-device-gpio/LICENSE-APACHE b/vhost-device-gpio/LICENSE-APACHE new file mode 120000 index 0000000..965b606 --- /dev/null +++ b/vhost-device-gpio/LICENSE-APACHE @@ -0,0 +1 @@ +../LICENSE-APACHE \ No newline at end of file diff --git a/vhost-device-gpio/LICENSE-BSD-3-Clause b/vhost-device-gpio/LICENSE-BSD-3-Clause new file mode 120000 index 0000000..f2b0791 --- /dev/null +++ b/vhost-device-gpio/LICENSE-BSD-3-Clause @@ -0,0 +1 @@ +../LICENSE-BSD-3-Clause \ No newline at end of file diff --git a/crates/vhost-device-gpio/README.md b/vhost-device-gpio/README.md similarity index 100% rename from crates/vhost-device-gpio/README.md rename to vhost-device-gpio/README.md diff --git a/crates/vhost-device-gpio/src/backend.rs b/vhost-device-gpio/src/backend.rs similarity index 100% rename from crates/vhost-device-gpio/src/backend.rs rename to vhost-device-gpio/src/backend.rs diff --git a/crates/vhost-device-gpio/src/gpio.rs b/vhost-device-gpio/src/gpio.rs similarity index 100% rename from crates/vhost-device-gpio/src/gpio.rs rename to vhost-device-gpio/src/gpio.rs diff --git a/crates/vhost-device-gpio/src/main.rs b/vhost-device-gpio/src/main.rs similarity index 100% rename from crates/vhost-device-gpio/src/main.rs rename to vhost-device-gpio/src/main.rs diff --git a/crates/vhost-device-gpio/src/mock_gpio.rs b/vhost-device-gpio/src/mock_gpio.rs similarity index 100% rename from crates/vhost-device-gpio/src/mock_gpio.rs rename to vhost-device-gpio/src/mock_gpio.rs diff --git a/crates/vhost-device-gpio/src/vhu_gpio.rs b/vhost-device-gpio/src/vhu_gpio.rs similarity index 100% rename from crates/vhost-device-gpio/src/vhu_gpio.rs rename to vhost-device-gpio/src/vhu_gpio.rs diff --git a/crates/vhost-device-gpio/src/virtio_gpio.rs b/vhost-device-gpio/src/virtio_gpio.rs similarity index 100% rename from crates/vhost-device-gpio/src/virtio_gpio.rs rename to vhost-device-gpio/src/virtio_gpio.rs diff --git a/crates/vhost-device-i2c/CHANGELOG.md b/vhost-device-i2c/CHANGELOG.md similarity index 100% rename from crates/vhost-device-i2c/CHANGELOG.md rename to vhost-device-i2c/CHANGELOG.md diff --git a/crates/vhost-device-i2c/Cargo.toml b/vhost-device-i2c/Cargo.toml similarity index 100% rename from crates/vhost-device-i2c/Cargo.toml rename to vhost-device-i2c/Cargo.toml diff --git a/vhost-device-i2c/LICENSE-APACHE b/vhost-device-i2c/LICENSE-APACHE new file mode 120000 index 0000000..965b606 --- /dev/null +++ b/vhost-device-i2c/LICENSE-APACHE @@ -0,0 +1 @@ +../LICENSE-APACHE \ No newline at end of file diff --git a/vhost-device-i2c/LICENSE-BSD-3-Clause b/vhost-device-i2c/LICENSE-BSD-3-Clause new file mode 120000 index 0000000..f2b0791 --- /dev/null +++ b/vhost-device-i2c/LICENSE-BSD-3-Clause @@ -0,0 +1 @@ +../LICENSE-BSD-3-Clause \ No newline at end of file diff --git a/crates/vhost-device-i2c/README.md b/vhost-device-i2c/README.md similarity index 100% rename from crates/vhost-device-i2c/README.md rename to vhost-device-i2c/README.md diff --git a/crates/vhost-device-i2c/src/i2c.rs b/vhost-device-i2c/src/i2c.rs similarity index 100% rename from crates/vhost-device-i2c/src/i2c.rs rename to vhost-device-i2c/src/i2c.rs diff --git a/crates/vhost-device-i2c/src/main.rs b/vhost-device-i2c/src/main.rs similarity index 100% rename from crates/vhost-device-i2c/src/main.rs rename to vhost-device-i2c/src/main.rs diff --git a/crates/vhost-device-i2c/src/vhu_i2c.rs b/vhost-device-i2c/src/vhu_i2c.rs similarity index 100% rename from crates/vhost-device-i2c/src/vhu_i2c.rs rename to vhost-device-i2c/src/vhu_i2c.rs diff --git a/crates/vhost-device-rng/CHANGELOG.md b/vhost-device-rng/CHANGELOG.md similarity index 100% rename from crates/vhost-device-rng/CHANGELOG.md rename to vhost-device-rng/CHANGELOG.md diff --git a/crates/vhost-device-rng/Cargo.toml b/vhost-device-rng/Cargo.toml similarity index 100% rename from crates/vhost-device-rng/Cargo.toml rename to vhost-device-rng/Cargo.toml diff --git a/vhost-device-rng/LICENSE-APACHE b/vhost-device-rng/LICENSE-APACHE new file mode 120000 index 0000000..965b606 --- /dev/null +++ b/vhost-device-rng/LICENSE-APACHE @@ -0,0 +1 @@ +../LICENSE-APACHE \ No newline at end of file diff --git a/vhost-device-rng/LICENSE-BSD-3-Clause b/vhost-device-rng/LICENSE-BSD-3-Clause new file mode 120000 index 0000000..f2b0791 --- /dev/null +++ b/vhost-device-rng/LICENSE-BSD-3-Clause @@ -0,0 +1 @@ +../LICENSE-BSD-3-Clause \ No newline at end of file diff --git a/crates/vhost-device-rng/README.md b/vhost-device-rng/README.md similarity index 100% rename from crates/vhost-device-rng/README.md rename to vhost-device-rng/README.md diff --git a/crates/vhost-device-rng/src/main.rs b/vhost-device-rng/src/main.rs similarity index 100% rename from crates/vhost-device-rng/src/main.rs rename to vhost-device-rng/src/main.rs diff --git a/crates/vhost-device-rng/src/vhu_rng.rs b/vhost-device-rng/src/vhu_rng.rs similarity index 100% rename from crates/vhost-device-rng/src/vhu_rng.rs rename to vhost-device-rng/src/vhu_rng.rs diff --git a/crates/vhost-device-scmi/CHANGELOG.md b/vhost-device-scmi/CHANGELOG.md similarity index 100% rename from crates/vhost-device-scmi/CHANGELOG.md rename to vhost-device-scmi/CHANGELOG.md diff --git a/crates/vhost-device-scmi/Cargo.toml b/vhost-device-scmi/Cargo.toml similarity index 100% rename from crates/vhost-device-scmi/Cargo.toml rename to vhost-device-scmi/Cargo.toml diff --git a/vhost-device-scmi/LICENSE-APACHE b/vhost-device-scmi/LICENSE-APACHE new file mode 120000 index 0000000..965b606 --- /dev/null +++ b/vhost-device-scmi/LICENSE-APACHE @@ -0,0 +1 @@ +../LICENSE-APACHE \ No newline at end of file diff --git a/vhost-device-scmi/LICENSE-BSD-3-Clause b/vhost-device-scmi/LICENSE-BSD-3-Clause new file mode 120000 index 0000000..f2b0791 --- /dev/null +++ b/vhost-device-scmi/LICENSE-BSD-3-Clause @@ -0,0 +1 @@ +../LICENSE-BSD-3-Clause \ No newline at end of file diff --git a/crates/vhost-device-scmi/README.md b/vhost-device-scmi/README.md similarity index 100% rename from crates/vhost-device-scmi/README.md rename to vhost-device-scmi/README.md diff --git a/crates/vhost-device-scmi/kernel/iio-dummy/.gitignore b/vhost-device-scmi/kernel/iio-dummy/.gitignore similarity index 100% rename from crates/vhost-device-scmi/kernel/iio-dummy/.gitignore rename to vhost-device-scmi/kernel/iio-dummy/.gitignore diff --git a/crates/vhost-device-scmi/kernel/iio-dummy/Makefile b/vhost-device-scmi/kernel/iio-dummy/Makefile similarity index 100% rename from crates/vhost-device-scmi/kernel/iio-dummy/Makefile rename to vhost-device-scmi/kernel/iio-dummy/Makefile diff --git a/crates/vhost-device-scmi/kernel/iio-dummy/README.md b/vhost-device-scmi/kernel/iio-dummy/README.md similarity index 100% rename from crates/vhost-device-scmi/kernel/iio-dummy/README.md rename to vhost-device-scmi/kernel/iio-dummy/README.md diff --git a/crates/vhost-device-scmi/kernel/iio-dummy/iio-dummy-fix.patch b/vhost-device-scmi/kernel/iio-dummy/iio-dummy-fix.patch similarity index 100% rename from crates/vhost-device-scmi/kernel/iio-dummy/iio-dummy-fix.patch rename to vhost-device-scmi/kernel/iio-dummy/iio-dummy-fix.patch diff --git a/crates/vhost-device-scmi/kernel/iio-dummy/iio_modified_dummy.c b/vhost-device-scmi/kernel/iio-dummy/iio_modified_dummy.c similarity index 100% rename from crates/vhost-device-scmi/kernel/iio-dummy/iio_modified_dummy.c rename to vhost-device-scmi/kernel/iio-dummy/iio_modified_dummy.c diff --git a/crates/vhost-device-scmi/kernel/iio-dummy/iio_modified_dummy.h b/vhost-device-scmi/kernel/iio-dummy/iio_modified_dummy.h similarity index 100% rename from crates/vhost-device-scmi/kernel/iio-dummy/iio_modified_dummy.h rename to vhost-device-scmi/kernel/iio-dummy/iio_modified_dummy.h diff --git a/crates/vhost-device-scmi/src/devices/common.rs b/vhost-device-scmi/src/devices/common.rs similarity index 100% rename from crates/vhost-device-scmi/src/devices/common.rs rename to vhost-device-scmi/src/devices/common.rs diff --git a/crates/vhost-device-scmi/src/devices/fake.rs b/vhost-device-scmi/src/devices/fake.rs similarity index 100% rename from crates/vhost-device-scmi/src/devices/fake.rs rename to vhost-device-scmi/src/devices/fake.rs diff --git a/crates/vhost-device-scmi/src/devices/iio.rs b/vhost-device-scmi/src/devices/iio.rs similarity index 100% rename from crates/vhost-device-scmi/src/devices/iio.rs rename to vhost-device-scmi/src/devices/iio.rs diff --git a/crates/vhost-device-scmi/src/devices/mod.rs b/vhost-device-scmi/src/devices/mod.rs similarity index 100% rename from crates/vhost-device-scmi/src/devices/mod.rs rename to vhost-device-scmi/src/devices/mod.rs diff --git a/crates/vhost-device-scmi/src/main.rs b/vhost-device-scmi/src/main.rs similarity index 100% rename from crates/vhost-device-scmi/src/main.rs rename to vhost-device-scmi/src/main.rs diff --git a/crates/vhost-device-scmi/src/scmi.rs b/vhost-device-scmi/src/scmi.rs similarity index 100% rename from crates/vhost-device-scmi/src/scmi.rs rename to vhost-device-scmi/src/scmi.rs diff --git a/crates/vhost-device-scmi/src/vhu_scmi.rs b/vhost-device-scmi/src/vhu_scmi.rs similarity index 100% rename from crates/vhost-device-scmi/src/vhu_scmi.rs rename to vhost-device-scmi/src/vhu_scmi.rs diff --git a/crates/vhost-device-scsi/ARCHITECTURE.md b/vhost-device-scsi/ARCHITECTURE.md similarity index 100% rename from crates/vhost-device-scsi/ARCHITECTURE.md rename to vhost-device-scsi/ARCHITECTURE.md diff --git a/crates/vhost-device-scsi/CHANGELOG.md b/vhost-device-scsi/CHANGELOG.md similarity index 100% rename from crates/vhost-device-scsi/CHANGELOG.md rename to vhost-device-scsi/CHANGELOG.md diff --git a/crates/vhost-device-scsi/Cargo.toml b/vhost-device-scsi/Cargo.toml similarity index 100% rename from crates/vhost-device-scsi/Cargo.toml rename to vhost-device-scsi/Cargo.toml diff --git a/vhost-device-scsi/LICENSE-APACHE b/vhost-device-scsi/LICENSE-APACHE new file mode 120000 index 0000000..965b606 --- /dev/null +++ b/vhost-device-scsi/LICENSE-APACHE @@ -0,0 +1 @@ +../LICENSE-APACHE \ No newline at end of file diff --git a/vhost-device-scsi/LICENSE-BSD-3-Clause b/vhost-device-scsi/LICENSE-BSD-3-Clause new file mode 120000 index 0000000..f2b0791 --- /dev/null +++ b/vhost-device-scsi/LICENSE-BSD-3-Clause @@ -0,0 +1 @@ +../LICENSE-BSD-3-Clause \ No newline at end of file diff --git a/crates/vhost-device-scsi/README.md b/vhost-device-scsi/README.md similarity index 100% rename from crates/vhost-device-scsi/README.md rename to vhost-device-scsi/README.md diff --git a/crates/vhost-device-scsi/src/main.rs b/vhost-device-scsi/src/main.rs similarity index 100% rename from crates/vhost-device-scsi/src/main.rs rename to vhost-device-scsi/src/main.rs diff --git a/crates/vhost-device-scsi/src/scsi/emulation/block_device.rs b/vhost-device-scsi/src/scsi/emulation/block_device.rs similarity index 100% rename from crates/vhost-device-scsi/src/scsi/emulation/block_device.rs rename to vhost-device-scsi/src/scsi/emulation/block_device.rs diff --git a/crates/vhost-device-scsi/src/scsi/emulation/command.rs b/vhost-device-scsi/src/scsi/emulation/command.rs similarity index 100% rename from crates/vhost-device-scsi/src/scsi/emulation/command.rs rename to vhost-device-scsi/src/scsi/emulation/command.rs diff --git a/crates/vhost-device-scsi/src/scsi/emulation/missing_lun.rs b/vhost-device-scsi/src/scsi/emulation/missing_lun.rs similarity index 100% rename from crates/vhost-device-scsi/src/scsi/emulation/missing_lun.rs rename to vhost-device-scsi/src/scsi/emulation/missing_lun.rs diff --git a/crates/vhost-device-scsi/src/scsi/emulation/mod.rs b/vhost-device-scsi/src/scsi/emulation/mod.rs similarity index 100% rename from crates/vhost-device-scsi/src/scsi/emulation/mod.rs rename to vhost-device-scsi/src/scsi/emulation/mod.rs diff --git a/crates/vhost-device-scsi/src/scsi/emulation/mode_page.rs b/vhost-device-scsi/src/scsi/emulation/mode_page.rs similarity index 100% rename from crates/vhost-device-scsi/src/scsi/emulation/mode_page.rs rename to vhost-device-scsi/src/scsi/emulation/mode_page.rs diff --git a/crates/vhost-device-scsi/src/scsi/emulation/response_data.rs b/vhost-device-scsi/src/scsi/emulation/response_data.rs similarity index 100% rename from crates/vhost-device-scsi/src/scsi/emulation/response_data.rs rename to vhost-device-scsi/src/scsi/emulation/response_data.rs diff --git a/crates/vhost-device-scsi/src/scsi/emulation/target.rs b/vhost-device-scsi/src/scsi/emulation/target.rs similarity index 100% rename from crates/vhost-device-scsi/src/scsi/emulation/target.rs rename to vhost-device-scsi/src/scsi/emulation/target.rs diff --git a/crates/vhost-device-scsi/src/scsi/emulation/tests/bad_lun.rs b/vhost-device-scsi/src/scsi/emulation/tests/bad_lun.rs similarity index 100% rename from crates/vhost-device-scsi/src/scsi/emulation/tests/bad_lun.rs rename to vhost-device-scsi/src/scsi/emulation/tests/bad_lun.rs diff --git a/crates/vhost-device-scsi/src/scsi/emulation/tests/generic.rs b/vhost-device-scsi/src/scsi/emulation/tests/generic.rs similarity index 100% rename from crates/vhost-device-scsi/src/scsi/emulation/tests/generic.rs rename to vhost-device-scsi/src/scsi/emulation/tests/generic.rs diff --git a/crates/vhost-device-scsi/src/scsi/emulation/tests/mod.rs b/vhost-device-scsi/src/scsi/emulation/tests/mod.rs similarity index 100% rename from crates/vhost-device-scsi/src/scsi/emulation/tests/mod.rs rename to vhost-device-scsi/src/scsi/emulation/tests/mod.rs diff --git a/crates/vhost-device-scsi/src/scsi/emulation/tests/report_supported_operation_codes.rs b/vhost-device-scsi/src/scsi/emulation/tests/report_supported_operation_codes.rs similarity index 100% rename from crates/vhost-device-scsi/src/scsi/emulation/tests/report_supported_operation_codes.rs rename to vhost-device-scsi/src/scsi/emulation/tests/report_supported_operation_codes.rs diff --git a/crates/vhost-device-scsi/src/scsi/mod.rs b/vhost-device-scsi/src/scsi/mod.rs similarity index 100% rename from crates/vhost-device-scsi/src/scsi/mod.rs rename to vhost-device-scsi/src/scsi/mod.rs diff --git a/crates/vhost-device-scsi/src/scsi/sense.rs b/vhost-device-scsi/src/scsi/sense.rs similarity index 100% rename from crates/vhost-device-scsi/src/scsi/sense.rs rename to vhost-device-scsi/src/scsi/sense.rs diff --git a/crates/vhost-device-scsi/src/vhu_scsi.rs b/vhost-device-scsi/src/vhu_scsi.rs similarity index 100% rename from crates/vhost-device-scsi/src/vhu_scsi.rs rename to vhost-device-scsi/src/vhu_scsi.rs diff --git a/crates/vhost-device-scsi/src/virtio.rs b/vhost-device-scsi/src/virtio.rs similarity index 100% rename from crates/vhost-device-scsi/src/virtio.rs rename to vhost-device-scsi/src/virtio.rs diff --git a/crates/vhost-device-scsi/test/.containerignore b/vhost-device-scsi/test/.containerignore similarity index 100% rename from crates/vhost-device-scsi/test/.containerignore rename to vhost-device-scsi/test/.containerignore diff --git a/crates/vhost-device-scsi/test/.gitignore b/vhost-device-scsi/test/.gitignore similarity index 100% rename from crates/vhost-device-scsi/test/.gitignore rename to vhost-device-scsi/test/.gitignore diff --git a/crates/vhost-device-scsi/test/Containerfile b/vhost-device-scsi/test/Containerfile similarity index 100% rename from crates/vhost-device-scsi/test/Containerfile rename to vhost-device-scsi/test/Containerfile diff --git a/crates/vhost-device-scsi/test/README.md b/vhost-device-scsi/test/README.md similarity index 100% rename from crates/vhost-device-scsi/test/README.md rename to vhost-device-scsi/test/README.md diff --git a/crates/vhost-device-scsi/test/invoke-test.sh b/vhost-device-scsi/test/invoke-test.sh similarity index 100% rename from crates/vhost-device-scsi/test/invoke-test.sh rename to vhost-device-scsi/test/invoke-test.sh diff --git a/crates/vhost-device-scsi/test/start-test.sh b/vhost-device-scsi/test/start-test.sh similarity index 100% rename from crates/vhost-device-scsi/test/start-test.sh rename to vhost-device-scsi/test/start-test.sh diff --git a/crates/vhost-device-scsi/test/test-script.sh b/vhost-device-scsi/test/test-script.sh similarity index 100% rename from crates/vhost-device-scsi/test/test-script.sh rename to vhost-device-scsi/test/test-script.sh diff --git a/crates/vhost-device-vsock/CHANGELOG.md b/vhost-device-vsock/CHANGELOG.md similarity index 100% rename from crates/vhost-device-vsock/CHANGELOG.md rename to vhost-device-vsock/CHANGELOG.md diff --git a/crates/vhost-device-vsock/Cargo.toml b/vhost-device-vsock/Cargo.toml similarity index 100% rename from crates/vhost-device-vsock/Cargo.toml rename to vhost-device-vsock/Cargo.toml diff --git a/vhost-device-vsock/LICENSE-APACHE b/vhost-device-vsock/LICENSE-APACHE new file mode 120000 index 0000000..965b606 --- /dev/null +++ b/vhost-device-vsock/LICENSE-APACHE @@ -0,0 +1 @@ +../LICENSE-APACHE \ No newline at end of file diff --git a/vhost-device-vsock/LICENSE-BSD-3-Clause b/vhost-device-vsock/LICENSE-BSD-3-Clause new file mode 120000 index 0000000..f2b0791 --- /dev/null +++ b/vhost-device-vsock/LICENSE-BSD-3-Clause @@ -0,0 +1 @@ +../LICENSE-BSD-3-Clause \ No newline at end of file diff --git a/crates/vhost-device-vsock/README.md b/vhost-device-vsock/README.md similarity index 100% rename from crates/vhost-device-vsock/README.md rename to vhost-device-vsock/README.md diff --git a/crates/vhost-device-vsock/src/main.rs b/vhost-device-vsock/src/main.rs similarity index 100% rename from crates/vhost-device-vsock/src/main.rs rename to vhost-device-vsock/src/main.rs diff --git a/crates/vhost-device-vsock/src/rxops.rs b/vhost-device-vsock/src/rxops.rs similarity index 100% rename from crates/vhost-device-vsock/src/rxops.rs rename to vhost-device-vsock/src/rxops.rs diff --git a/crates/vhost-device-vsock/src/rxqueue.rs b/vhost-device-vsock/src/rxqueue.rs similarity index 100% rename from crates/vhost-device-vsock/src/rxqueue.rs rename to vhost-device-vsock/src/rxqueue.rs diff --git a/crates/vhost-device-vsock/src/thread_backend.rs b/vhost-device-vsock/src/thread_backend.rs similarity index 100% rename from crates/vhost-device-vsock/src/thread_backend.rs rename to vhost-device-vsock/src/thread_backend.rs diff --git a/crates/vhost-device-vsock/src/txbuf.rs b/vhost-device-vsock/src/txbuf.rs similarity index 100% rename from crates/vhost-device-vsock/src/txbuf.rs rename to vhost-device-vsock/src/txbuf.rs diff --git a/crates/vhost-device-vsock/src/vhu_vsock.rs b/vhost-device-vsock/src/vhu_vsock.rs similarity index 100% rename from crates/vhost-device-vsock/src/vhu_vsock.rs rename to vhost-device-vsock/src/vhu_vsock.rs diff --git a/crates/vhost-device-vsock/src/vhu_vsock_thread.rs b/vhost-device-vsock/src/vhu_vsock_thread.rs similarity index 100% rename from crates/vhost-device-vsock/src/vhu_vsock_thread.rs rename to vhost-device-vsock/src/vhu_vsock_thread.rs diff --git a/crates/vhost-device-vsock/src/vsock_conn.rs b/vhost-device-vsock/src/vsock_conn.rs similarity index 100% rename from crates/vhost-device-vsock/src/vsock_conn.rs rename to vhost-device-vsock/src/vsock_conn.rs