-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
iommu: Refactor and introduce vfio_get_group helper
Previous pci_get_iommu_group() returns a string path of vfio group. The string path is actually required for nothing but getting the group fd. The actual instance for the vfio group is (struct vfio_group *) so that this patch introduces a new helper vfio_get_group() returning the vfio group instance. This is a prep patch to introduce a helper to get the vfio group instance without the path string value. Signed-off-by: Minwoo Im <[email protected]>
- Loading branch information
Showing
1 changed file
with
45 additions
and
32 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters