crosvm/devices
Takaya Saeki ae9280a20a devices: virtio: video: add run_async method to Worker
Implement `run_async` method in `Worker` for the video device.
`run_async` is necessary for implementing vhost-user video device, which
prefers async wait loop.

For now, the async runner depends on the wrapper of WaitContext, which
the implementation of decoder device depends on, rather than making the
decoder device async.  In addition, this commit does not unify the block
`run` and `run_async` yet.

BUG=b:179756087
TEST=cargo build succeeds.

Change-Id: Iec14a342bade14bf1f68ec0211da3dd2b52c85da
Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/3783295
Commit-Queue: Takaya Saeki <takayas@chromium.org>
Reviewed-by: Alexandre Courbot <acourbot@chromium.org>
Reviewed-by: Keiichi Watanabe <keiichiw@chromium.org>
2022-09-26 06:54:07 +00:00
..
src devices: virtio: video: add run_async method to Worker 2022-09-26 06:54:07 +00:00
Cargo.toml devices: add feature flags to render_server_fd. 2022-09-22 20:21:59 +00:00