mirror of
https://chromium.googlesource.com/crosvm/crosvm
synced 2025-02-11 12:35:26 +00:00
Using a channel will allow for more complicated messages to be sent to the vcpu thread. Adding debug support will require being able to process each message from the main thread. The atomic state worked well when every CPU needed a message and when transient state changes can be dropped. Neither of those assumptions will hold true when using this communication channel for debugging message such as setting and getting vcpu registers or single stepping a particular cpu. The run state is now per-cpu so that individual CPUs can be stopped and stepped by GDB in later commits. BUG=chromium:1141812 TEST=run a VM Change-Id: Ibe3b71af0c99057666d30e302090a8a4364c064a Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/crosvm/+/2440219 Tested-by: Keiichi Watanabe <keiichiw@chromium.org> Tested-by: kokoro <noreply+kokoro@google.com> Reviewed-by: Daniel Verkamp <dverkamp@chromium.org> Commit-Queue: Keiichi Watanabe <keiichiw@chromium.org> |
||
---|---|---|
.. | ||
lib.rs |