All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/3] vdpa_sim_blk: several fixes for the vDPA block simulator
@ 2022-06-21 16:08 ` Stefano Garzarella
  0 siblings, 0 replies; 20+ messages in thread
From: Stefano Garzarella @ 2022-06-21 16:08 UTC (permalink / raw)
  To: virtualization
  Cc: Jason Wang, Eugenio Pérez, Michael S. Tsirkin, linux-kernel,
	Stefano Garzarella

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


^ permalink raw reply	[flat|nested] 20+ messages in thread

end of thread, other threads:[~2022-06-28  7:55 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-06-21 16:08 [PATCH 0/3] vdpa_sim_blk: several fixes for the vDPA block simulator Stefano Garzarella
2022-06-21 16:08 ` Stefano Garzarella
2022-06-21 16:08 ` [PATCH 1/3] vdpa_sim_blk: use dev_dbg() to print errors Stefano Garzarella
2022-06-21 16:08   ` Stefano Garzarella
2022-06-23  3:40   ` Jason Wang
2022-06-23  3:40     ` Jason Wang
2022-06-21 16:08 ` [PATCH 2/3] vdpa_sim_blk: limit the number of request handled per batch Stefano Garzarella
2022-06-21 16:08   ` Stefano Garzarella
2022-06-23  3:50   ` Jason Wang
2022-06-23  3:50     ` Jason Wang
2022-06-23  8:58     ` Stefano Garzarella
2022-06-23  8:58       ` Stefano Garzarella
2022-06-28  4:01       ` Jason Wang
2022-06-28  4:01         ` Jason Wang
2022-06-28  7:55         ` Stefano Garzarella
2022-06-28  7:55           ` Stefano Garzarella
2022-06-21 16:12 ` [PATCH 3/3] vdpa_sim_blk: call vringh_complete_iotlb() also in the error path Stefano Garzarella
2022-06-21 16:12   ` Stefano Garzarella
2022-06-23  3:52   ` Jason Wang
2022-06-23  3:52     ` Jason Wang

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.