linux/samples/vfio-mdev
Jason Gunthorpe c594b26ff7 vfio/mtty: Use mdev_get_type_group_id()
The type_group_id directly gives the single or dual port index, no
need for string searching.

Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Message-Id: <12-v2-d36939638fc6+d54-vfio2_jgg@nvidia.com>
Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
2021-04-07 15:39:19 -06:00
..
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
mbochs.c vfio/mdev: Fix missing static's on MDEV_TYPE_ATTR's 2021-04-07 15:39:15 -06:00
mdpy-defs.h PCI: Move PCI_VENDOR_ID_REDHAT definition to pci_ids.h 2020-07-09 17:00:47 -05:00
mdpy-fb.c samples: vfio-mdev: constify fb ops 2019-12-10 08:52:15 +02:00
mdpy.c vfio/mdev: Fix missing static's on MDEV_TYPE_ATTR's 2021-04-07 15:39:15 -06:00
mtty.c vfio/mtty: Use mdev_get_type_group_id() 2021-04-07 15:39:19 -06:00