mirror of
https://github.com/rust-vmm/vhost-device.git
synced 2025-12-26 22:48:17 +00:00
Add a new compile-time feature, `gfxstream`, which is included in the default features. The only thing that changes is that we can now build without requiring the `gfxstream_backend` library on compilation time, which helps in cases it is not packaged in a distro, or is not available at a user's build machine. Also update `README.md` with information about the build-time feature. This commit does not change anything other than make gfxstream gpu mode opt-out at build-time. Everything should continue to work the same. Signed-off-by: Manos Pitsidianakis <manos.pitsidianakis@linaro.org> |
||
|---|---|---|
| .. | ||
| vhost-device-gpu | ||
| vhost-device-video | ||
| .gitignore | ||
| Cargo.lock | ||
| Cargo.toml | ||
| coverage_config_x86_64.json | ||
| README.md | ||
vhost-device staging workspace
This directory includes a separate Cargo workspace to include working vhost-user backend implementations that concern devices that have partial functionality and devices (and/or functionality) not yet ratified in the VIRTIO specification. For more details about vhost-device you can refer to the repository README.
To add a new member crate:
- Place it under this directory,
./staging. - Append its name in the
workspace.membersarray field of the workspace manifest file. - Update the crate list in the repository README.
Testing and Continuous Integration
ℹ️ Notice ℹ️ : The CI runs on the root workspace only.
This means that staging crates can have failing tests and bring down code coverage without automatic checks.
Tests can still be run locally as part of the development process.
To add a crate to the CI, add it to the root Cargo.toml workspace.members array as well as the staging manifest.