aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorEric Auger <eric.auger@linaro.org>2015-07-06 12:15:13 -0600
committerAlex Williamson <alex.williamson@redhat.com>2015-07-06 12:15:13 -0600
commit197e35249a7360534e1aea0f2268ad0e1aa27121 (patch)
tree7c64000a44ac3e30564fa60e90070bb3c44666be /docs
parent1c9b71a7311ed99635a2d007fc8a856879537a05 (diff)
downloadqemu-197e35249a7360534e1aea0f2268ad0e1aa27121.zip
qemu-197e35249a7360534e1aea0f2268ad0e1aa27121.tar.gz
qemu-197e35249a7360534e1aea0f2268ad0e1aa27121.tar.bz2
kvm-all.c: add qemu_irq/gsi hash table and utility routines
VFIO platform device needs to setup irqfd but it does not know the gsi corresponding to the device qemu_irq. This patch proposes to store a hash table in kvm_state using the qemu_irq as key and the gsi as a value. kvm_irqchip_set_qemuirq_gsi allows to insert such a pair. The interrupt controller is supposed to use it. kvm_irqchip_[add, remove]_irqfd_notifier allows to setup/tear down irqfd directly from the qemu_irq. Signed-off-by: Eric Auger <eric.auger@linaro.org> Tested-by: Vikram Sethi <vikrams@codeaurora.org> Acked-by: Paolo Bonzini <pbonzini@redhat.com> Reviewed-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
Diffstat (limited to 'docs')
0 files changed, 0 insertions, 0 deletions