]> git.proxmox.com Git - mirror_qemu.git/commit
kvm-irqchip: do explicit commit when update irq
authorPeter Xu <peterx@redhat.com>
Thu, 14 Jul 2016 05:56:33 +0000 (13:56 +0800)
committerMichael S. Tsirkin <mst@redhat.com>
Thu, 21 Jul 2016 17:44:19 +0000 (20:44 +0300)
commit3f1fea0fb5bfd78ede2ceae5dae0b24c0380f423
tree949a85390e8f549a00e49fa0bd3c11334094cec8
parente1d4fb2de594ab0cbe78846bc79617b9bd50c867
kvm-irqchip: do explicit commit when update irq

In the past, we are doing gsi route commit for each irqchip route
update. This is not efficient if we are updating lots of routes in the
same time. This patch removes the committing phase in
kvm_irqchip_update_msi_route(). Instead, we do explicit commit after all
routes updated.

Signed-off-by: Peter Xu <peterx@redhat.com>
Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
hw/i386/kvm/pci-assign.c
hw/misc/ivshmem.c
hw/vfio/pci.c
hw/virtio/virtio-pci.c
include/sysemu/kvm.h
kvm-all.c
kvm-stub.c
target-i386/kvm.c