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é <f4...@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