crosvm/devices
Ryan Neph 2ed81f78f6 gpu: allow unsandboxed implicit render server spawn with startup flag
Relands 42ee99f25e ("gpu: allow unsandboxed implicit render server spawn") with changes.

Add command line argument allowing virglrenderer to implicitly spawn a
render_server process when a render_server_socket is not provided and
sandboxing is disabled. Useful for simplifying local debugging and injection-based
profiling (ASAN lib injection) workflows.

BUG=b:298221126
TEST=cargo build --features=gpu,x,wl-dmabuf,virgl_renderer,virgl_renderer_next
TEST=Run crosvm with virglrenderer without render_server support built-in - works by default.

Change-Id: I83b888f84dffe055d144d8c9aee67f8feff9c0e2
Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/4834111
Reviewed-by: Jason Macnak <natsu@google.com>
Reviewed-by: Yiwei Zhang <zzyiwei@chromium.org>
Reviewed-by: Daniel Verkamp <dverkamp@chromium.org>
Commit-Queue: Ryan Neph <ryanneph@google.com>
2023-08-31 20:17:30 +00:00
..
src gpu: allow unsandboxed implicit render server spawn with startup flag 2023-08-31 20:17:30 +00:00
tests/irqchip Remove target_arch = "x86" checks 2023-08-18 23:36:47 +00:00
Cargo.toml Cargo.toml: add version to chrono dependencies 2023-08-11 21:02:25 +00:00