vfio: VFIO based driver for Mediated devices
authorKirti Wankhede <kwankhede@nvidia.com>
Wed, 16 Nov 2016 20:46:14 +0000 (02:16 +0530)
committerAlex Williamson <alex.williamson@redhat.com>
Thu, 17 Nov 2016 15:24:50 +0000 (08:24 -0700)
commitfa3da00cb8c0d403030f4805ae615b444f0d2f3c
treeb4235ea4d0bb2f48a3742d06727facda15cf4ca3
parent7b96953bc640b6b25665fe17ffca4b668b371f14
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>
drivers/vfio/mdev/Kconfig
drivers/vfio/mdev/Makefile
drivers/vfio/mdev/mdev_core.c
drivers/vfio/mdev/vfio_mdev.c [new file with mode: 0644]