qemu-e2k/hw/intc
Jens Freimann c0194a00b0 s390x/kvm: make setting of in-kernel irq routes more efficient
When we add new adapter routes we call kvm_irqchip_add_route() for every
virtqueue and in the same step also do the KVM_SET_GSI_ROUTING ioctl.

This is unnecessary costly as the interface allows us to set multiple
routes in one go. Let's first add all routes to the table stored in the
global kvm_state and then do the ioctl to commit the routes to the
in-kernel irqchip.

This saves us several ioctls to the kernel where for each call a list
is reallocated and populated.

Signed-off-by: Jens Freimann <jfrei@linux.vnet.ibm.com>
Reviewed-by: David Hildenbrand <dahi@linux.vnet.ibm.com>
Acked-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Cornelia Huck <cornelia.huck@de.ibm.com>
2015-09-07 16:10:43 +02:00
..
allwinner-a10-pic.c
apic_common.c migration: Use normal VMStateDescriptions for Subsections 2015-06-12 06:53:57 +02:00
apic.c apic: convert ->busdev.qdev casts to C casts 2015-06-02 15:15:52 -03:00
arm_gic_common.c hw/arm/gic: Kill code duplication 2015-08-13 11:26:21 +01:00
arm_gic_kvm.c hw/arm/gic: Kill code duplication 2015-08-13 11:26:21 +01:00
arm_gic.c hw/arm/gic: Kill code duplication 2015-08-13 11:26:21 +01:00
arm_gicv2m.c arm_gicv2m: set kvm_gsi_direct_mapping and kvm_msi_via_irqfd_allowed 2015-06-02 14:56:25 +01:00
armv7m_nvic.c hw/intc/arm_gic: Change behavior of IAR writes 2015-05-12 11:57:18 +01:00
etraxfs_pic.c
exynos4210_combiner.c
exynos4210_gic.c hw/intc/exynos4210_gic.c: Fix memory leak by adjusting order 2015-06-03 14:21:24 +03:00
gic_internal.h hw/intc/arm_gic: Change behavior of IAR writes 2015-05-12 11:57:18 +01:00
grlib_irqmp.c
heathrow_pic.c
i8259_common.c
i8259.c
imx_avic.c i.MX: Fix Coding style for AVIC emulator. 2015-08-13 11:26:20 +01:00
ioapic_common.c
ioapic.c
lm32_pic.c
Makefile.objs arm_gicv2m: Add GICv2m widget to support MSIs 2015-06-02 14:56:25 +01:00
omap_intc.c
openpic_kvm.c
openpic.c qerror: Clean up QERR_ macros to expand into a single string 2015-06-22 18:20:40 +02:00
pl190.c
puv3_intc.c
realview_gic.c
s390_flic_kvm.c s390x/kvm: make setting of in-kernel irq routes more efficient 2015-09-07 16:10:43 +02:00
s390_flic.c
sh_intc.c
slavio_intctl.c
xics_kvm.c xics_kvm: Don't enable KVM_CAP_IRQ_XICS if already enabled 2015-07-07 17:44:52 +02:00
xics.c spapr: Merge sPAPREnvironment into sPAPRMachineState 2015-07-07 17:44:50 +02:00
xilinx_intc.c