mirror of
https://chromium.googlesource.com/crosvm/crosvm
synced 2025-02-05 10:10:41 +00:00
The Worker struct is storing a Descriptor obtained from a timer for the sole purpose of adding it to a WaitContext when the worker thread starts running. Instead of doing this, create the WaitContext and pass it as part of the worker data, so all ioctls involving that descriptor are performed directly on the timer, guaranteeing that the descriptor is valid. BUG=233968702 TEST=Linux VM starts and boots with `--split-irqchip` specified. Change-Id: Ie5da1e9866742108f52c526100e936d292167ab7 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/crosvm/+/3670105 Reviewed-by: Michael Hoyle <mikehoyle@google.com> Tested-by: kokoro <noreply+kokoro@google.com> Reviewed-by: Daniel Verkamp <dverkamp@chromium.org> Reviewed-by: Dennis Kempin <denniskempin@google.com> Commit-Queue: Alexandre Courbot <acourbot@chromium.org> |
||
---|---|---|
.. | ||
src | ||
Cargo.toml |