Eric Auger 197e35249a 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>
2015-07-06 12:15:13 -06:00
2015-06-24 16:33:42 +01:00
2015-06-30 09:34:58 +02:00
2015-06-17 20:02:15 +01:00
2015-06-22 17:40:01 +02:00
2015-06-22 17:40:01 +02:00
2015-06-22 17:40:01 +02:00
2012-09-07 09:02:44 +03:00
2015-04-04 09:45:59 +03:00
2014-06-16 13:24:35 +02:00
2013-09-05 09:40:31 -05:00
2015-06-12 06:42:34 +02:00
2015-07-02 10:06:23 +01:00
2013-10-11 09:34:56 -07:00
2008-10-12 17:54:42 +00:00
2015-06-03 14:21:24 +03:00
2015-06-22 17:40:01 +02:00
2015-04-30 16:05:48 +03:00
2013-07-23 02:41:31 +02:00
2015-06-12 13:42:17 +01:00
2015-06-26 15:57:43 +01:00
2015-06-23 20:23:39 +03:00
2015-06-03 14:21:24 +03:00
2015-06-15 13:24:51 +01:00
2014-05-24 00:07:29 +04:00
2015-05-11 08:59:07 -04:00
2015-05-22 15:58:22 -04:00
2013-10-11 09:34:56 -07:00
2015-06-11 10:13:28 +01:00
2015-04-25 22:05:07 +01:00
2013-10-11 09:34:56 -07:00
2015-06-22 18:20:40 +02:00
2015-06-23 17:46:20 +01:00

Read the documentation in qemu-doc.html or on http://wiki.qemu-project.org

- QEMU team
Description
No description provided
Readme 418 MiB
Languages
Rust 68.8%
C 26.3%
C++ 3%
Python 0.9%
Shell 0.5%
Other 0.3%