qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH v2 0/2] vdpa: do not save failed dma maps in SVQ iova tree


From: Eugenio Pérez
Subject: [PATCH v2 0/2] vdpa: do not save failed dma maps in SVQ iova tree
Date: Thu, 4 Aug 2022 17:54:41 +0200

If a map fails for whatever reason, it must not be saved in the tree.
Otherwise, qemu will try to unmap it in cleanup, leaving to more errors.

v2: Do not dereference failed maps

Eugenio Pérez (2):
  vdpa: Skip the maps not in the iova tree
  vdpa: do not save failed dma maps in SVQ iova tree

 hw/virtio/vhost-vdpa.c | 24 +++++++++++++++++-------
 1 file changed, 17 insertions(+), 7 deletions(-)

-- 
2.31.1





reply via email to

[Prev in Thread] Current Thread [Next in Thread]