mirror of
https://chromium.googlesource.com/crosvm/crosvm
synced 2024-11-28 01:16:50 +00:00
326afd881e
Instead of synchronously waiting for balloon stat responses in the control loop, add the balloon tube to the wait context and handle the responses asynchronously. This allows us to get rid of the 100ms timeout on stat requests, which in turn means we can get rid of the id field in stat/wss messages because there are no longer "stale" requests. The fact that balloon stat requests will no longer timeout may require that clients handle timeouts themselves, instead of relying on a hardcoded timeout in the crosvm implementation. This adds a new function to crosvm_control to allow getting the balloon stats with a timeout. BUG=b:259503518 TEST=test run DUT multivm.* TEST=cargo test -p vm_control Change-Id: I89c72d13e28527e432041de53cf8eda25f630bea Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/4651166 Commit-Queue: David Stevens <stevensd@chromium.org> Reviewed-by: Daniel Verkamp <dverkamp@chromium.org> Reviewed-by: Noah Gold <nkgold@google.com> |
||
---|---|---|
.. | ||
audio_streams | ||
balloon_control | ||
data_model | ||
p9 | ||
sync | ||
chromeos_warning.md | ||
README.md |
Crosvm General Purpose Libraries
The crates in this folder are general purpose libraries used by other projects in ChromeOS as well.
To make them accessible independendly of crosvm, each of these crates is excluded from the crosvm workspace.