Searched refs:vfio_dev_path (Results 1 – 1 of 1) sorted by relevance
181 g_autofree char *vfio_dev_path = NULL; in iommufd_cdev_getfd() local199 vfio_dev_path = g_strdup_printf("%s/%s/dev", path, dent->d_name); in iommufd_cdev_getfd()204 if (!vfio_dev_path) { in iommufd_cdev_getfd()209 if (!g_file_get_contents(vfio_dev_path, &contents, &length, NULL)) { in iommufd_cdev_getfd()210 error_setg(errp, "failed to load \"%s\"", vfio_dev_path); in iommufd_cdev_getfd()215 error_setg(errp, "failed to get major:minor for \"%s\"", vfio_dev_path); in iommufd_cdev_getfd()