diff options
author | Kirti Wankhede <kwankhede@nvidia.com> | 2016-11-16 21:46:14 +0100 |
---|---|---|
committer | Alex Williamson <alex.williamson@redhat.com> | 2016-11-17 16:24:50 +0100 |
commit | fa3da00cb8c0d403030f4805ae615b444f0d2f3c (patch) | |
tree | b4235ea4d0bb2f48a3742d06727facda15cf4ca3 /drivers/vfio/mdev/Kconfig | |
parent | vfio: Mediated device Core driver (diff) | |
download | linux-fa3da00cb8c0d403030f4805ae615b444f0d2f3c.tar.xz linux-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/Kconfig | 7 |
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. |