summary refs log tree commit diff stats
path: root/hw/virtio/vhost-shadow-virtqueue.c
diff options
context:
space:
mode:
authorEugenio Pérez <eperezma@redhat.com>2022-08-23 20:20:03 +0200
committerJason Wang <jasowang@redhat.com>2022-09-02 10:22:39 +0800
commit7dab70bec397e3522211e7bcc36d879bad8154c5 (patch)
tree22672500a07115ca406a37f4970640a9207fa134 /hw/virtio/vhost-shadow-virtqueue.c
parent10dab9f2635b9bab23a2b29974b526e62bb61268 (diff)
downloadfocaccia-qemu-7dab70bec397e3522211e7bcc36d879bad8154c5.tar.gz
focaccia-qemu-7dab70bec397e3522211e7bcc36d879bad8154c5.zip
vdpa: do not save failed dma maps in SVQ iova tree
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.

Fixes: 34e3c94eda ("vdpa: Add custom IOTLB translations to SVQ")
Reported-by: Lei Yang <leiyang@redhat.com>
Signed-off-by: Eugenio Pérez <eperezma@redhat.com>
Acked-by: Jason Wang <jasowang@redhat.com>
Signed-off-by: Jason Wang <jasowang@redhat.com>
Diffstat (limited to 'hw/virtio/vhost-shadow-virtqueue.c')
0 files changed, 0 insertions, 0 deletions