crosvm/common
Vikram Auradkar 7c9b08aae9 Prepare vmm_vhost to be milti-platform 2/2
The patch prepares backend.rs and connection.rs to be platform
independent by
- depending on base instead on sys_util
- using base::Event over sys_util::EventFd
- replacing RawFd usage with RawDescriptor and derivatives

To keep the noise low, the patch
- aliases structs/traits (Event as EventFd)
- does not rename variables (say from fd to rd).

Note: With this patch the crate/files are not completely platform
independent.

Test: Built, clippy and fmt
Bug: b:213151429
Change-Id: Ib57528ef1a951c3d083cf345c878ec1417b7ce3e
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/crosvm/+/3460428
Reviewed-by: Dennis Kempin <denniskempin@google.com>
Tested-by: kokoro <noreply+kokoro@google.com>
Commit-Queue: Vikram Auradkar <auradkar@google.com>
2022-02-15 20:56:20 +00:00
..
assertions Upstream windows build/test script 2022-01-28 00:55:08 +00:00
audio_streams Upstream windows build/test script 2022-01-28 00:55:08 +00:00
balloon_control balloon_control: expose rust API for balloon 2022-01-28 03:52:35 +00:00
base Upstream windows build/test script 2022-01-28 00:55:08 +00:00
cros-fuzz Upstream windows build/test script 2022-01-28 00:55:08 +00:00
cros_async Enable cros_async tests 2022-02-08 17:08:51 +00:00
cros_asyncv2 Enable cros_async tests 2022-02-08 17:08:51 +00:00
data_model Upstream windows build/test script 2022-01-28 00:55:08 +00:00
io_uring Upstream windows build/test script 2022-01-28 00:55:08 +00:00
p9 Upstream windows build/test script 2022-01-28 00:55:08 +00:00
sync Upstream windows build/test script 2022-01-28 00:55:08 +00:00
sys_util Prepare vmm_vhost to be milti-platform 2/2 2022-02-15 20:56:20 +00:00
sys_util_core Move os independent files under a new crate sys_util_core 2022-02-08 20:59:24 +00:00
README.md docs: Use mdformat to format markdown files 2022-01-27 21:29:11 +00:00

Crosvm General Purpose Libraries

The crates in this folder are general purpose libraries used by other projects in ChromeOS as well.

To make them accessible independendly of crosvm, each of these crates is excluded from the crosvm workspace.

List of libraries

  • cros-fuzz: Support crate for fuzzing rust code in ChromeOS
  • p9: Server implementation of the 9p file system protocol