]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit5458d51ef11ffedc947c75d4def9163d7f1458dc
treed52de56288712564cea9cefd4b82a6a934e3bed8
parentbb03de806d9031da36aca2a0490ced8fc80ecaf9
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