aboutsummaryrefslogtreecommitdiff
path: root/tools/testing
diff options
context:
space:
mode:
authorJason Gunthorpe <[email protected]>2021-04-06 16:40:37 -0300
committerAlex Williamson <[email protected]>2021-04-07 15:39:19 -0600
commit3d3a360e5706169a60fd4f26a9cec7da196a41c9 (patch)
treed392a68d668df111ed86902fe425ea0429fd71c9 /tools/testing
parentadc9d1f6f5db811f5269cfc66c48fc0cab6c041c (diff)
vfio/mbochs: Use mdev_get_type_group_id()
The mbochs_types array is parallel to the supported_type_groups array, so the type_group_id indexes both. Instead of doing string searching just directly index with type_group_id in all places. Reviewed-by: Christoph Hellwig <[email protected]> Signed-off-by: Jason Gunthorpe <[email protected]> Message-Id: <[email protected]> Signed-off-by: Alex Williamson <[email protected]>
Diffstat (limited to 'tools/testing')
0 files changed, 0 insertions, 0 deletions