qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/6] Shadow VirtQueue Fixes
@ 2022-05-12 17:57 Eugenio Pérez
  2022-05-12 17:57 ` [PATCH 1/6] vhost: Track descriptor chain in private at SVQ Eugenio Pérez
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: Eugenio Pérez @ 2022-05-12 17:57 UTC (permalink / raw)
  To: qemu-devel
  Cc: Gautam Dawar, Laurent Vivier, Harpreet Singh Anand, qemu-stable,
	Philippe Mathieu-Daudé, Michael S. Tsirkin, Jason Wang,
	Gonglei (Arei), Cindy Lu

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




^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2022-05-12 19:13 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-05-12 17:57 [PATCH 0/6] Shadow VirtQueue Fixes Eugenio Pérez
2022-05-12 17:57 ` [PATCH 1/6] vhost: Track descriptor chain in private at SVQ Eugenio Pérez
2022-05-12 17:57 ` [PATCH 2/6] vhost: Fix device's used descriptor dequeue Eugenio Pérez
2022-05-12 17:57 ` [PATCH 3/6] vdpa: Fix bad index calculus at vhost_vdpa_get_vring_base Eugenio Pérez
2022-05-12 17:57 ` [PATCH 4/6] vdpa: Fix index calculus at vhost_vdpa_svqs_start Eugenio Pérez
2022-05-12 17:57 ` [PATCH 5/6] hw/virtio: Replace g_memdup() by g_memdup2() Eugenio Pérez
2022-05-12 17:57 ` [PATCH 6/6] vhost: Fix element in vhost_svq_add failure Eugenio Pérez

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).