Skip to content

virtio-pci: optimize set_guest_notifier

Longpeng(Mike) via qemu-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 12 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3virtio-pci: submit msi route changes in batchhw/virtio/virtio-pci.c+21 -36 replies
2/3kvm-irqchip: use KVMRouteChange API to update msi routeaccel/kvm/kvm-all.c accel/stubs/kvm-stub.c hw/intc/ioapic.c +5 more+27 -160 replies
3/3virtio-pci: defer to commit kvm irq routing when enable msi/msixhw/virtio/virtio-pci.c include/hw/virtio/virtio.h+99 -156 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH v1 0/3] virtio-pci: optimize set_guest_notifier

From: Longpeng <[email protected]>

This patchset optimizes the time-consuming operation in virtio_pci_set_guest_notifier, especially for the vhost-vdpa migration, the time spend on set_guest_notifier can reduce 87% in some cases.

Longpeng (Mike) (3):
virtio-pci: submit msi route changes in batch
kvm-irqchip: use KVMRouteChange API to update msi route
virtio-pci: defer to commit kvm irq routing when enable msi/msix

 accel/kvm/kvm-all.c        |  10 +--
 accel/stubs/kvm-stub.c     |   2 +-
 hw/intc/ioapic.c           |   5 +-
 hw/misc/ivshmem.c          |   6 +-
 hw/vfio/pci.c              |   5 +-
 hw/virtio/virtio-pci.c     | 140 ++++++++++++++++++++++++++++++++-----
 include/hw/virtio/virtio.h |   1 +
 include/sysemu/kvm.h       |   2 +-
 target/i386/kvm/kvm.c      |   6 +-
 9 files changed, 145 insertions(+), 32 deletions(-)
Signature · 1 line
2.23.0