Re: [PATCH 32/34] vfio/mdev: Remove mdev_parent_ops

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 





On 4/11/2022 7:44 PM, Christoph Hellwig wrote:
From: Jason Gunthorpe <jgg@xxxxxxxxxx>

The last useful member in this struct is the supported_type_groups, move
it to the mdev_driver and delete mdev_parent_ops.

Replace it with mdev_driver as an argument to mdev_register_device()

Signed-off-by: Jason Gunthorpe <jgg@xxxxxxxxxx>
Signed-off-by: Christoph Hellwig <hch@xxxxxx>
---
  .../driver-api/vfio-mediated-device.rst       | 24 ++++--------------
  drivers/gpu/drm/i915/gvt/kvmgt.c              |  7 +-----
  drivers/s390/cio/vfio_ccw_ops.c               |  7 +-----
  drivers/s390/crypto/vfio_ap_ops.c             |  9 ++-----
  drivers/vfio/mdev/mdev_core.c                 | 13 ++++------
  drivers/vfio/mdev/mdev_private.h              |  2 +-
  drivers/vfio/mdev/mdev_sysfs.c                |  6 ++---
  include/linux/mdev.h                          | 25 +++----------------
  samples/vfio-mdev/mbochs.c                    |  9 ++-----
  samples/vfio-mdev/mdpy.c                      |  9 ++-----
  samples/vfio-mdev/mtty.c                      |  9 ++-----
  11 files changed, 28 insertions(+), 92 deletions(-)


Reviewed-by: Kirti Wankhede <kwankhede@xxxxxxxxxx>



[Index of Archives]     [AMD Graphics]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux