mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-28 11:18:45 +07:00
fa3da00cb8
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>
17 lines
347 B
Plaintext
17 lines
347 B
Plaintext
|
|
config VFIO_MDEV
|
|
tristate "Mediated device driver framework"
|
|
depends on VFIO
|
|
default n
|
|
help
|
|
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.
|