]> Git Repo - linux.git/commit
vdpa_sim_blk: implement ramdisk behaviour
authorStefano Garzarella <[email protected]>
Mon, 15 Mar 2021 16:34:48 +0000 (17:34 +0100)
committerMichael S. Tsirkin <[email protected]>
Mon, 3 May 2021 08:55:53 +0000 (04:55 -0400)
commit7d189f617f83f780915b737896a696ff605bd19f
tree87916c1fb03b0dadb9f7b91d610cfbc816365a76
parent0c853c2c2924464bd86537164ed18d5d953b4909
vdpa_sim_blk: implement ramdisk behaviour

The previous implementation wrote only the status of each request.
This patch implements a more accurate block device simulator,
providing a ramdisk-like behavior and adding input validation.

Acked-by: Jason Wang <[email protected]>
Reviewed-by: Stefan Hajnoczi <[email protected]>
Signed-off-by: Stefano Garzarella <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Michael S. Tsirkin <[email protected]>
drivers/vdpa/vdpa_sim/vdpa_sim_blk.c
This page took 0.052317 seconds and 4 git commands to generate.