RE: [PATCH v5 4/6] kvm: irqchip: extract kvm_irqchip_add_deferred_msi_route

2021-11-13 Thread Longpeng (Mike, Cloud Infrastructure Service Product Dept.)
org; Gonglei (Arei) > > Subject: Re: [PATCH v5 4/6] kvm: irqchip: extract > kvm_irqchip_add_deferred_msi_route > > On 11/3/21 09:16, Longpeng(Mike) wrote: > > Extract a common helper that add MSI route for specific vector > > but does not commit immediately. > > > > S

Re: [PATCH v5 4/6] kvm: irqchip: extract kvm_irqchip_add_deferred_msi_route

2021-11-12 Thread Paolo Bonzini
On 11/3/21 09:16, Longpeng(Mike) wrote: Extract a common helper that add MSI route for specific vector but does not commit immediately. Signed-off-by: Longpeng(Mike) I think adding the new function is not necessary; I have no problem moving the call to kvm_irqchip_commit_routes to the caller

RE: [PATCH v5 4/6] kvm: irqchip: extract kvm_irqchip_add_deferred_msi_route

2021-11-11 Thread Longpeng (Mike, Cloud Infrastructure Service Product Dept.)
7 PM > To: alex.william...@redhat.com; pbonz...@redhat.com > Cc: qemu-devel@nongnu.org; k...@vger.kernel.org; Gonglei (Arei) > ; Longpeng (Mike, Cloud Infrastructure Service > Product Dept.) > Subject: [PATCH v5 4/6] kvm: irqchip: extract > kvm_irqchip_add_deferred_msi_route >

[PATCH v5 4/6] kvm: irqchip: extract kvm_irqchip_add_deferred_msi_route

2021-11-03 Thread Longpeng(Mike)
Extract a common helper that add MSI route for specific vector but does not commit immediately. Signed-off-by: Longpeng(Mike) --- accel/kvm/kvm-all.c | 15 +-- include/sysemu/kvm.h | 6 ++ 2 files changed, 19 insertions(+), 2 deletions(-) diff --git a/accel/kvm/kvm-all.c b/acc