vdpa: Make SVQ vring unmapping return void
commit5b590f51b923776a14d3bcafcb393279c1b72022
authorEugenio Pérez <eperezma@redhat.com>
Tue, 23 Aug 2022 18:20:06 +0000 (23 20:20 +0200)
committerJason Wang <jasowang@redhat.com>
Fri, 2 Sep 2022 02:22:39 +0000 (2 10:22 +0800)
treec39384288f14c879a23c2742ad4af0512cc03d56
parentb37c12be962f95fd1e93b470a5ff05f6e2035d46
vdpa: Make SVQ vring unmapping return void

Nothing actually reads the return value, but an error in cleaning some
entries could cause device stop to abort, making a restart impossible.
Better ignore explicitely the return value.

Reported-by: Lei Yang <leiyang@redhat.com>
Fixes: 34e3c94eda ("vdpa: Add custom IOTLB translations to SVQ")
Signed-off-by: Eugenio Pérez <eperezma@redhat.com>
Acked-by: Jason Wang <jasowang@redhat.com>
Signed-off-by: Jason Wang <jasowang@redhat.com>
hw/virtio/vhost-vdpa.c