From: Longpeng <longpeng2@xxxxxxxxxx> This patchset moves the call to kvm_irqchip_commit_routes() out of kvm_irqchip_add_msi_route(). An optimization of vfio migration [1] depends on this changes. [1] https://lists.gnu.org/archive/html/qemu-devel/2021-11/msg00968.html Longpeng (Mike) (2): kvm-irqchip: introduce new API to support route change kvm/msi: do explicit commit when adding msi routes accel/kvm/kvm-all.c | 7 ++++--- accel/stubs/kvm-stub.c | 2 +- hw/misc/ivshmem.c | 5 ++++- hw/vfio/pci.c | 5 ++++- hw/virtio/virtio-pci.c | 4 +++- include/sysemu/kvm.h | 23 +++++++++++++++++++++-- target/i386/kvm/kvm.c | 4 +++- 7 files changed, 40 insertions(+), 10 deletions(-) -- 2.23.0