Longpeng(Mike) def4c5570c kvm/msi: do explicit commit when adding msi routes
We invoke the kvm_irqchip_commit_routes() for each addition to MSI route
table, which is not efficient if we are adding lots of routes in some cases.

This patch lets callers invoke the kvm_irqchip_commit_routes(), so the
callers can decide how to optimize.

[1] https://lists.gnu.org/archive/html/qemu-devel/2021-11/msg00967.html

Signed-off-by: Longpeng <longpeng2@huawei.com>
Message-Id: <20220222141116.2091-3-longpeng2@huawei.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2022-03-15 11:26:20 +01:00
..
2019-08-16 13:31:52 +02:00
2021-07-07 14:01:59 +02:00
2021-09-06 16:22:54 +02:00
2021-11-17 11:25:55 -07:00
2021-09-16 11:57:01 +02:00
2021-09-16 11:57:01 +02:00
2021-09-30 15:30:24 +02:00