This patchset implements two msix masking optimizations.
It works fine for me but I did not have the time to do
performance testing yet so I do not know
whether it helps and which workloads.
Sending out now as I'll be on vacation for a week.
Please review and comment.

Thanks!

Michael S. Tsirkin (8):
  virtio: don't waste irqfds on control vqs
  msix: add api to access msix message
  kvm: add stub for update msi route
  virtio-pci: cache msix messages
  virtio: backend virtqueue notifier masking
  virtio-net: set/clear vhost_started in reverse order
  vhost: set started flag while start is in progress
  vhost: backend masking support

 hw/pci/msix.c   |   2 +-
 hw/pci/msix.h   |   1 +
 hw/vhost.c      | 112 ++++++++++++++++++++++++++-----
 hw/vhost.h      |  10 +++
 hw/vhost_net.c  |  27 +++++++-
 hw/vhost_net.h  |   3 +
 hw/virtio-net.c |  22 +++++-
 hw/virtio-pci.c | 203 ++++++++++++++++++++++++++++++++++++++++++++++++--------
 hw/virtio-pci.h |   2 +
 hw/virtio.h     |  15 ++++-
 kvm-stub.c      |   5 ++
 11 files changed, 350 insertions(+), 52 deletions(-)

-- 
MST

Reply via email to