mirror of
https://chromium.googlesource.com/crosvm/crosvm
synced 2025-02-06 10:32:10 +00:00
ce33acefff
New Vcpu methods get the vcpu ID for a vcpu and the current thread. A new VcpuX86_64 method injects NMIs. request_interrupt_window now takes a bool parameter, so the request window flag can be turned off. These methods are to support the userspace irqchip. The thread-local vcpu ID will help route MMIO requests to the appropriate APIC. Clearing the interrupt window request is needed because KVM won't clear the flag if the kernel APIC is disabled. BUG=chromium:1077058 TEST=boots with KVM kernel irqchip, KVM split irqchip Change-Id: I2a08988e71663f0d2a63985f3239568c7a9befea Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/crosvm/+/2419673 Reviewed-by: Daniel Verkamp <dverkamp@chromium.org> Tested-by: kokoro <noreply+kokoro@google.com> Commit-Queue: Colin Downs-Razouk <colindr@google.com> |
||
---|---|---|
.. | ||
src | ||
Cargo.toml |