summaryrefslogtreecommitdiff
path: root/drivers/vdpa/vdpa_sim/Makefile
diff options
context:
space:
mode:
authorMax Gurtovoy <mgurtovoy@nvidia.com>2021-03-15 19:34:47 +0300
committerMichael S. Tsirkin <mst@redhat.com>2021-05-03 11:55:53 +0300
commit0c853c2c2924464bd86537164ed18d5d953b4909 (patch)
treedaa8b8c19c4cae2cc96c0d6a445ae425958a49c9 /drivers/vdpa/vdpa_sim/Makefile
parent9d6d97bff7909910af537fd3903d05338adaaefa (diff)
downloadlinux-0c853c2c2924464bd86537164ed18d5d953b4909.tar.xz
vdpa: add vdpa simulator for block device
This will allow running vDPA for virtio block protocol. It's a preliminary implementation with a simple request handling: for each request, only the status (last byte) is set. It's always set to VIRTIO_BLK_S_OK. Also input validation is missing and will be added in the next commits. Signed-off-by: Max Gurtovoy <mgurtovoy@nvidia.com> [sgarzare: various cleanups/fixes] Acked-by: Jason Wang <jasowang@redhat.com> Signed-off-by: Stefano Garzarella <sgarzare@redhat.com> Link: https://lore.kernel.org/r/20210315163450.254396-12-sgarzare@redhat.com Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'drivers/vdpa/vdpa_sim/Makefile')
-rw-r--r--drivers/vdpa/vdpa_sim/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/vdpa/vdpa_sim/Makefile b/drivers/vdpa/vdpa_sim/Makefile
index 79d4536d347e..d458103302f2 100644
--- a/drivers/vdpa/vdpa_sim/Makefile
+++ b/drivers/vdpa/vdpa_sim/Makefile
@@ -1,3 +1,4 @@
# SPDX-License-Identifier: GPL-2.0
obj-$(CONFIG_VDPA_SIM) += vdpa_sim.o
obj-$(CONFIG_VDPA_SIM_NET) += vdpa_sim_net.o
+obj-$(CONFIG_VDPA_SIM_BLOCK) += vdpa_sim_blk.o