RE: [PATCH v3 9/9] vfio: defer to commit kvm irq routing when enable msi/msix

2021-10-05 Thread Longpeng (Mike, Cloud Infrastructure Service Product Dept.)
> m...@redhat.com; qemu-devel@nongnu.org; Gonglei (Arei) > ; chenjiashang > Subject: Re: [PATCH v3 9/9] vfio: defer to commit kvm irq routing when enable > msi/msix > > On Tue, 21 Sep 2021 07:02:02 +0800 > "Longpeng(Mike)" wrote: > > > In migration resume

Re: [PATCH v3 9/9] vfio: defer to commit kvm irq routing when enable msi/msix

2021-10-01 Thread Alex Williamson
On Tue, 21 Sep 2021 07:02:02 +0800 "Longpeng(Mike)" wrote: > In migration resume phase, all unmasked msix vectors need to be > setup when load the VF state. However, the setup operation would s/load/loading/ > take longer if the VM has more VFs and each VF has more unmasked > vectors. > > The

[PATCH v3 9/9] vfio: defer to commit kvm irq routing when enable msi/msix

2021-09-20 Thread Longpeng(Mike)
In migration resume phase, all unmasked msix vectors need to be setup when load the VF state. However, the setup operation would take longer if the VM has more VFs and each VF has more unmasked vectors. The hot spot is kvm_irqchip_commit_routes, it'll scan and update all irqfds that already