summaryrefslogtreecommitdiff
path: root/drivers/vfio/mdev/Kconfig
diff options
context:
space:
mode:
authorKirti Wankhede <kwankhede@nvidia.com>2016-11-17 02:16:14 +0530
committerAlex Williamson <alex.williamson@redhat.com>2016-11-17 08:24:50 -0700
commitfa3da00cb8c0d403030f4805ae615b444f0d2f3c (patch)
treeb4235ea4d0bb2f48a3742d06727facda15cf4ca3 /drivers/vfio/mdev/Kconfig
parent7b96953bc640b6b25665fe17ffca4b668b371f14 (diff)
downloadlwn-fa3da00cb8c0d403030f4805ae615b444f0d2f3c.tar.gz
lwn-fa3da00cb8c0d403030f4805ae615b444f0d2f3c.zip
vfio: VFIO based driver for Mediated devices
vfio_mdev driver registers with mdev core driver. mdev core driver creates mediated device and calls probe routine of vfio_mdev driver for each device. Probe routine of vfio_mdev driver adds mediated device to VFIO core module This driver forms a shim layer that pass through VFIO devices operations to vendor driver for mediated devices. Signed-off-by: Kirti Wankhede <kwankhede@nvidia.com> Signed-off-by: Neo Jia <cjia@nvidia.com> Reviewed-by: Jike Song <jike.song@intel.com> Reviewed-by: Dong Jia Shi <bjsdjshi@linux.vnet.ibm.com> Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
Diffstat (limited to 'drivers/vfio/mdev/Kconfig')
-rw-r--r--drivers/vfio/mdev/Kconfig7
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/vfio/mdev/Kconfig b/drivers/vfio/mdev/Kconfig
index 258481d65ebd..424ddebee55d 100644
--- a/drivers/vfio/mdev/Kconfig
+++ b/drivers/vfio/mdev/Kconfig
@@ -7,3 +7,10 @@ config VFIO_MDEV
Provides a framework to virtualize devices.
If you don't know what do here, say N.
+
+config VFIO_MDEV_DEVICE
+ tristate "VFIO driver for Mediated devices"
+ depends on VFIO && VFIO_MDEV
+ default n
+ help
+ VFIO based driver for Mediated devices.