summary refs log tree commit diff
path: root/crosvm_plugin
diff options
context:
space:
mode:
authorDmitry Torokhov <dtor@chromium.org>2018-03-26 17:14:19 -0700
committerchrome-bot <chrome-bot@chromium.org>2018-03-30 00:07:07 -0700
commiteda8b215369802296e86bd3cceee5f54bf659eda (patch)
treeea4bba47e260b167c8a78fe3720938595e6f11ec /crosvm_plugin
parent4757cf164b4a9b00e686326fbddaafa598686d6c (diff)
downloadcrosvm-eda8b215369802296e86bd3cceee5f54bf659eda.tar
crosvm-eda8b215369802296e86bd3cceee5f54bf659eda.tar.gz
crosvm-eda8b215369802296e86bd3cceee5f54bf659eda.tar.bz2
crosvm-eda8b215369802296e86bd3cceee5f54bf659eda.tar.lz
crosvm-eda8b215369802296e86bd3cceee5f54bf659eda.tar.xz
crosvm-eda8b215369802296e86bd3cceee5f54bf659eda.tar.zst
crosvm-eda8b215369802296e86bd3cceee5f54bf659eda.zip
kvm: fix fetching irqchip state for PICs other than the first one
The KVM API to fetch interrupt controller state expects caller to supply
number (id) of the interrupt controller number in which state the caller
is interested. To allow crosvm to fetch the correct state and to improve
type safety we split the API into one that handles the PIC (primary and
secondary) and the one that handles IOAPIC.

BUG=b:76083711
TEST=cargo test -p kvm

Change-Id: Ia45b51cb218072a275c244af2de1b4a73a1d3352
Signed-off-by: Dmitry Torokhov <dtor@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/986510
Reviewed-by: Zach Reizner <zachr@chromium.org>
Diffstat (limited to 'crosvm_plugin')
0 files changed, 0 insertions, 0 deletions