[PATCH 0/3] vdpa_sim_blk: several fixes for the vDPA block simulator

Stefano Garzarella posted 3 patches 3 years, 10 months ago
There is a newer version of this series
drivers/vdpa/vdpa_sim/vdpa_sim_blk.c | 49 +++++++++++++++++++---------
1 file changed, 33 insertions(+), 16 deletions(-)
[PATCH 0/3] vdpa_sim_blk: several fixes for the vDPA block simulator
Posted by Stefano Garzarella 3 years, 10 months ago
The first two patches essentially limit the possibility of the guest
doing a DoS to the host.

The third makes the simulator more correct (following what we do in
vdpa_sim_net) by calling vringh_complete_iotlb() in the error path as well.

Stefano Garzarella (3):
  vdpa_sim_blk: use dev_dbg() to print errors
  vdpa_sim_blk: limit the number of request handled per batch
  vdpa_sim_blk: call vringh_complete_iotlb() also in the error path

 drivers/vdpa/vdpa_sim/vdpa_sim_blk.c | 49 +++++++++++++++++++---------
 1 file changed, 33 insertions(+), 16 deletions(-)

-- 
2.36.1