Skip to content

Shadow VirtQueue Fixes

Eugenio Pérez qemu-devel 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest6 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6vhost: Track descriptor chain in private at SVQhw/virtio/vhost-shadow-virtqueue.c hw/virtio/vhost-shadow-virtqueue.h+13 -50 replies
2/6vhost: Fix device's used descriptor dequeuehw/virtio/vhost-shadow-virtqueue.c+15 -20 replies
3/6vdpa: Fix bad index calculus at vhost_vdpa_get_vring_basehw/virtio/vhost-vdpa.c+2 -20 replies
4/6vdpa: Fix index calculus at vhost_vdpa_svqs_starthw/virtio/vhost-vdpa.c+1 -10 replies
5/6hw/virtio: Replace g_memdup() by g_memdup2()hw/net/virtio-net.c hw/virtio/virtio-crypto.c+5 -40 replies
6/6vhost: Fix element in vhost_svq_add failurehw/virtio/vhost-shadow-virtqueue.c+8 -00 replies

Reviews trailers per patch

3 of 6 patches have a Reviewed-by or Acked-by.

PatchJason WangEugenio Pérez
1/6
2/6
3/6A-b
4/6A-b
5/6A-b A-b
6/6

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/6] Shadow VirtQueue Fixes

Random fixes found while developing control virtqueue + multiqueue but the last one, found by coverity. The previous one is a patch created by Philippe Mathieu-Daudé <[email protected]>, send as a RFC in another series but already acked.

All but Philippe's ones are bugs non-triggable, since there is still no possibility to enable SVQ unless we manually add code to master.

Comments are welcome.

Eugenio Pérez (5):
vhost: Track descriptor chain in private at SVQ
vhost: Fix device's used descriptor dequeue
vdpa: Fix bad index calculus at vhost_vdpa_get_vring_base
vdpa: Fix index calculus at vhost_vdpa_svqs_start
vhost: Fix element in vhost_svq_add failure

Philippe Mathieu-Daudé (1):
hw/virtio: Replace g_memdup() by g_memdup2()

 hw/virtio/vhost-shadow-virtqueue.h |  6 +++++
 hw/net/virtio-net.c                |  3 ++-
 hw/virtio/vhost-shadow-virtqueue.c | 35 +++++++++++++++++++++++++-----
 hw/virtio/vhost-vdpa.c             |  6 ++---
 hw/virtio/virtio-crypto.c          |  6 ++---
 5 files changed, 43 insertions(+), 13 deletions(-)

--
2.27.0