mirror of
https://chromium.googlesource.com/crosvm/crosvm
synced 2024-11-25 05:03:05 +00:00
acb1f6683c
This adds a new dt node identified by "qemu,vm-watchdog". The watchdog is instantiated per-cpu and each instance has the following layout described in this document: https://docs.google.com/document/d/1DYmk2roxlwHZsOfcJi8xDMdWOHAmomvs2SDh7KPud3Y/edit?resourcekey=0-oSNabc-t040a1q0K4cyI8Q#heading=h.4hbqud2zl941 The watchdog uses an internal clock which is driven by the timerfd at regular intervals. When the internal clock expires, a counter value is decremented. When the counter register reaches value "0", the watchdog expires. To prevent 'watchdog expiration', regular pet events should be sent from the guest kernel driver. BUG=b:213422094 Signed-off-by: Sebastian Ene <sebastianene@google.com> Change-Id: Ic8c0488ffdfed1a43b6deb34b72d37f46e5e18a2 Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/3768290 Reviewed-by: Daniel Verkamp <dverkamp@chromium.org> |
||
---|---|---|
.. | ||
book |