Skip to content

vhost-vdpa multiqueue fixes

Si-Wei Liu qemu-devel 4 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest7 patches 2 repliesIn review
  2. v36 patches 3 repliesSuperseded
  3. v25 patches 6 repliesSuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v17 patches42 repliesSuperseded

Changes in v4 from the cover letter

- split off the vhost_vdpa_set_backend_cap patch

Patches in v4 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7virtio-net: setup vhost_dev and notifiers for cvq only when feature is negotiatedhw/net/virtio-net.c+2 -10 replies
2/7virtio-net: align ctrl_vq index for non-mq guest for vhost_vdpahw/net/virtio-net.c+31 -20 replies
3/7vhost-vdpa: fix improper cleanup in net_init_vhost_vdpanet/vhost-vdpa.c+3 -10 replies
4/7vhost-net: fix improper cleanup in vhost_net_starthw/net/vhost_net.c+3 -10 replies
5/7vhost-vdpa: backend feature should set only oncehw/virtio/vhost-vdpa.c+1 -10 replies
6/7vhost-vdpa: change name and polarity for vhost_vdpa_one_time_request()hw/virtio/vhost-vdpa.c+15 -82 replies
7/7virtio-net: don't handle mq request in userspace handler for vhost-vdpahw/net/virtio-net.c+13 -00 replies

Reviews trailers per patch

All 7 patches have a Reviewed-by or Acked-by.

PatchJason WangStefano GarzarellaEugenio Pérez
1/7A-b
2/7A-b
3/7A-b
4/7A-b
5/7A-b R-b A-b
6/7A-b R-b
7/7A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v4 thread

Cover letter [PATCH v4 0/7] vhost-vdpa multiqueue fixes

Hi,

This patch series attempt to fix a few issues in vhost-vdpa multiqueue functionality.

Patch #1 and #2 are the formal submission for RFC patch as in:
https://lore.kernel.org/qemu-devel/[email protected]/

Patch #3 through #6 are obviously small bug fixes. Please find the description of each in the commit log.

Patch #7 is a workaround fix for the QEMU segfault described in:
https://lore.kernel.org/qemu-devel/[email protected]/

Thanks,
-Siwei

---
v4:
- split off the vhost_vdpa_set_backend_cap patch

v3:
- switch to LOG_GUEST_ERROR for guest trigger-able error
- add temporary band-aid fix for QEMU crash due to recursive call

v2:
- split off vhost_dev notifier patch from "align ctrl_vq index for non-mq guest for vhost_vdpa"
- change assert to error message
- rename vhost_vdpa_one_time_request to vhost_vdpa_first_dev for clarity

---
Si-Wei Liu (7):
virtio-net: setup vhost_dev and notifiers for cvq only when feature is
negotiated
virtio-net: align ctrl_vq index for non-mq guest for vhost_vdpa
vhost-vdpa: fix improper cleanup in net_init_vhost_vdpa
vhost-net: fix improper cleanup in vhost_net_start
vhost-vdpa: backend feature should set only once
vhost-vdpa: change name and polarity for vhost_vdpa_one_time_request()
virtio-net: don't handle mq request in userspace handler for
vhost-vdpa

 hw/net/vhost_net.c     |  4 +++-
 hw/net/virtio-net.c    | 49 ++++++++++++++++++++++++++++++++++++++++++++++---
 hw/virtio/vhost-vdpa.c | 23 +++++++++++++++--------
 net/vhost-vdpa.c       |  4 +++-
 4 files changed, 67 insertions(+), 13 deletions(-)
Signature · 1 line
1.8.3.1