[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 0/6] Shadow VirtQueue Fixes
From: |
Eugenio Pérez |
Subject: |
[PATCH 0/6] Shadow VirtQueue Fixes |
Date: |
Thu, 12 May 2022 19:57:41 +0200 |
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
- [PATCH 0/6] Shadow VirtQueue Fixes,
Eugenio Pérez <=
- [PATCH 2/6] vhost: Fix device's used descriptor dequeue, Eugenio Pérez, 2022/05/12
- [PATCH 1/6] vhost: Track descriptor chain in private at SVQ, Eugenio Pérez, 2022/05/12
- [PATCH 3/6] vdpa: Fix bad index calculus at vhost_vdpa_get_vring_base, Eugenio Pérez, 2022/05/12
- [PATCH 4/6] vdpa: Fix index calculus at vhost_vdpa_svqs_start, Eugenio Pérez, 2022/05/12
- [PATCH 6/6] vhost: Fix element in vhost_svq_add failure, Eugenio Pérez, 2022/05/12
- [PATCH 5/6] hw/virtio: Replace g_memdup() by g_memdup2(), Eugenio Pérez, 2022/05/12