crosvm/sandbox
Idan Raiter 21e083a108 device: vhost-user: Bring up Windows GPU
Brings up the Windows vhost-user GPU, when there is a vhost-user flag.
Otherwise, uses the original worker in the main process.

- Creates backend and VMM configs in broker.

- Always passes the VMM config to the main process.

- Passes backend config either to main or the vhost-user process.

- Create exit read / write event pair in broker, so GPU can request it
  from its process (on Windows, when we close the rendering window).

BUG=b:243061269
TEST=downstream / presubmit

Change-Id: I373e59e936bc21580e7962942742750444807093
Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/3968458
Reviewed-by: Daniel Verkamp <dverkamp@chromium.org>
Commit-Queue: Idan Raiter <idanr@google.com>
Reviewed-by: Noah Gold <nkgold@google.com>
2022-11-21 20:05:59 +00:00
..
src device: vhost-user: Bring up Windows GPU 2022-11-21 20:05:59 +00:00
bindings.rs sandbox: upstream sandbox 2022-10-12 21:05:39 +00:00
build.rs sandbox: upstream sandbox 2022-10-12 21:05:39 +00:00
Cargo.toml sandbox: upstream sandbox 2022-10-12 21:05:39 +00:00
prebuilts_version sandbox: upstream sandbox 2022-10-12 21:05:39 +00:00
README.md sandbox: Add a README 2022-10-13 16:25:08 +00:00

Sandbox dependencies

This crate links against chromium project's sandbox library. The library is provided as a prebuilt because

  • The build system's toolchain doesn't support building that library.
  • The original library is C++ based and we have added a small C wrapper around it to which rust binds.

build.rs downloads the prebuilt library during build.

Googlers can build the library by following these instructions.