mirror of
https://chromium.googlesource.com/crosvm/crosvm
synced 2025-02-11 04:26:38 +00:00
Currently the PIT creates a thread when the Pit object is instantiated, but this is a problem when sandboxing is enabled, because minijail does not want to fork when there is more than one thread. This change updates the PIT to only create the woker thread once the PIT has been read from or written to. Split irqchip mode still does not seem to quite work in sandbox mode, there appears to be some other sort of bug, but when run with the hypervisor abstraction it does run. So this fix is mostly applicable once hypervisor abstraction has been integrated. BUG=chromium:1077058 TEST=ran test VM with --split-irqchip without --disable-sandbox and it gets further than before, plus ran cargo test -p devices. Change-Id: Idf511bde825d4a004f1492dcbd27f6829e872735 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/crosvm/+/2304258 Tested-by: kokoro <noreply+kokoro@google.com> Reviewed-by: Daniel Verkamp <dverkamp@chromium.org> Reviewed-by: Udam Saini <udam@google.com> Reviewed-by: Dylan Reid <dgreid@chromium.org> Commit-Queue: Colin Downs-Razouk <colindr@google.com> |
||
---|---|---|
.. | ||
src | ||
Cargo.toml |