[PATCH 0/6] Shadow VirtQueue Fixes

Eugenio Pérez posted 6 patches 3 days, 18 hours ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20220512175747.142058-1-eperezma@redhat.com
Maintainers: "Michael S. Tsirkin" <mst@redhat.com>, Jason Wang <jasowang@redhat.com>, "Gonglei (Arei)" <arei.gonglei@huawei.com>
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(-)
[PATCH 0/6] Shadow VirtQueue Fixes
Posted by Eugenio Pérez 3 days, 18 hours ago
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é <f4bug@amsat.org>, 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