linux/drivers/vdpa/vdpa_sim
Stefano Garzarella 8472019eec vdpa_sim_blk: call vringh_complete_iotlb() also in the error path
Call vringh_complete_iotlb() even when we encounter a serious error
that prevents us from writing the status in the "in" header
(e.g. the header length is incorrect, etc.).

The guest is misbehaving, so maybe the ring is in a bad state, but
let's avoid making things worse.

Acked-by: Jason Wang <jasowang@redhat.com>
Signed-off-by: Stefano Garzarella <sgarzare@redhat.com>
Message-Id: <20220630153221.83371-4-sgarzare@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
2022-08-11 04:26:07 -04:00
..
Makefile vdpa: add vdpa simulator for block device 2021-05-03 04:55:53 -04:00
vdpa_sim_blk.c vdpa_sim_blk: call vringh_complete_iotlb() also in the error path 2022-08-11 04:26:07 -04:00
vdpa_sim_net.c vdpasim: control virtqueue support 2022-05-31 12:45:08 -04:00
vdpa_sim.c vdpasim: Off by one in vdpasim_set_group_asid() 2022-05-31 12:45:10 -04:00
vdpa_sim.h vdpasim: control virtqueue support 2022-05-31 12:45:08 -04:00