diff options
author | Eric Auger <eric.auger@redhat.com> | 2016-10-04 13:28:08 +0100 |
---|---|---|
committer | Peter Maydell <peter.maydell@linaro.org> | 2016-10-04 13:28:08 +0100 |
commit | d19a4d4ef448e736d341df47bd1adc78c8e40814 (patch) | |
tree | 0abb6a13d1734a5b664ecb60ad5e25e9b2c87d53 /blockdev.c | |
parent | 96b0439bbe2083c10308ce91860e2129f52bc1ae (diff) | |
download | qemu-d19a4d4ef448e736d341df47bd1adc78c8e40814.tar.gz qemu-d19a4d4ef448e736d341df47bd1adc78c8e40814.tar.bz2 qemu-d19a4d4ef448e736d341df47bd1adc78c8e40814.zip |
hw/intc/arm_gic(v3)_kvm: Initialize gsi routing
Advertise gsi routing and set up irqchip routing entries for
GIC SPIs.
This is not mandated as long as MSI routing is not used
(because the kernel sets a default irqchip routing table).
However once MSI routing gets used (for VIRTIO-PCI vhost for
example), the first call to KVM_SET_GSI_ROUTING overrides the
kernel default irqchip table.
If no routing entry exists for the GSI, any IRQFD signaling for
this GSI will fail.
Signed-off-by: Eric Auger <eric.auger@redhat.com>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Message-id: 1474616617-366-2-git-send-email-eric.auger@redhat.com
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'blockdev.c')
0 files changed, 0 insertions, 0 deletions