mirror of
https://chromium.googlesource.com/crosvm/crosvm
synced 2025-02-06 02:25:23 +00:00
11dc671da4
Add methods to the IrqChip trait to block in userspace on halted vcpus. Add IrqChip::check_capability, used for cpuid setup. Move interrupt injection logic from linux.rs to a new IrqChip::inject_interrupts method, which replaces interrupt_requested and get_external_interrupt. These changes are to support setup, run loop, and injection in the userspace irqchip. BUG=chromium:1077058 TEST=boots with KVM kernel irqchip, KVM split irqchip Change-Id: I8f46b5edf36acc485b5f76e7aed3e71c3b984c0e Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/crosvm/+/2419674 Tested-by: kokoro <noreply+kokoro@google.com> Commit-Queue: Colin Downs-Razouk <colindr@google.com> Reviewed-by: Keiichi Watanabe <keiichiw@chromium.org> Reviewed-by: Daniel Verkamp <dverkamp@chromium.org> |
||
---|---|---|
.. | ||
src | ||
Cargo.toml |