OSDN Git Service

vfio/mdev: Remove vfio_mdev.c
authorJason Gunthorpe <jgg@nvidia.com>
Mon, 11 Apr 2022 14:13:59 +0000 (16:13 +0200)
committerZhi Wang <zhi.a.wang@intel.com>
Thu, 21 Apr 2022 11:36:56 +0000 (07:36 -0400)
commit6c7f98b334a32df5cac8abac8983ac4ce17cab57
treed52de56288712564cea9cefd4b82a6a934e3bed8
parentcba619cb0d4d66c743cf001c6b13c171a769a65f
vfio/mdev: Remove vfio_mdev.c

Now that all mdev drivers directly create their own mdev_device driver and
directly register with the vfio core's vfio_device_ops this is all dead
code.

Delete vfio_mdev.c and the mdev_parent_ops members that are connected to
it.

Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Zhi Wang <zhi.a.wang@intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/20220411141403.86980-31-hch@lst.de
Reviewed-by: Kirti Wankhede <kwankhede@nvidia.com>
Reviewed-by: Zhi Wang <zhi.a.wang@intel.com>
Documentation/driver-api/vfio-mediated-device.rst
drivers/vfio/mdev/Makefile
drivers/vfio/mdev/mdev_core.c
drivers/vfio/mdev/mdev_driver.c
drivers/vfio/mdev/mdev_private.h
drivers/vfio/mdev/vfio_mdev.c [deleted file]
include/linux/mdev.h