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
..
2021-10-12 08:20:08 +02:00
2022-03-09 21:16:27 +00:00
2022-03-09 18:06:40 +00:00
2022-03-09 09:13:39 +00:00
2022-03-09 09:13:39 +00:00
2022-03-03 09:30:21 +01:00
2022-02-21 10:18:06 +01:00
2022-03-08 09:18:11 +01:00
2022-02-21 13:30:21 +00:00
2022-03-09 09:13:39 +00:00
2020-08-21 06:30:33 -04:00