mirror of
https://chromium.googlesource.com/crosvm/crosvm
synced 2025-02-06 10:32:10 +00:00
This allows irqchip implementations to specify whether they need to be notified via the halted() function when the vCPU encounters a HLT instruction. All of the current in-tree irqchip implementations do nothing on halted(), so this will always return false for now, but a fully userspace irqchip would need these notifications. Querying this function will allow the hypervisor code to determine whether disabling VM exits on HLT instructions is allowed. BUG=b:181106085 TEST=test_all Change-Id: I433fe208d125dcd14e7100ce5aff37474b423a83 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/crosvm/+/2937304 Reviewed-by: Colin Downs-Razouk <colindr@google.com> Reviewed-by: Zach Reizner <zachr@chromium.org> Tested-by: kokoro <noreply+kokoro@google.com> Commit-Queue: Daniel Verkamp <dverkamp@chromium.org> |
||
---|---|---|
.. | ||
src | ||
.build_test_serial | ||
Cargo.toml |