Home
last modified time | relevance | path

Searched refs:sysfsdev (Results 1 – 13 of 13) sorted by relevance

/qemu/hw/s390x/
H A Ds390-ccw.c75 char *sysfsdev, in s390_ccw_get_dev_info() argument
83 if (!sysfsdev) { in s390_ccw_get_dev_info()
90 if (!realpath(sysfsdev, dev_path)) { in s390_ccw_get_dev_info()
91 error_setg_errno(errp, errno, "Host device '%s' not found", sysfsdev); in s390_ccw_get_dev_info()
110 static void s390_ccw_realize(S390CCWDevice *cdev, char *sysfsdev, Error **errp) in s390_ccw_realize() argument
119 s390_ccw_get_dev_info(cdev, sysfsdev, &err); in s390_ccw_realize()
/qemu/hw/vfio/
H A Dplatform.c532 if (vbasedev->fd < 0 && vbasedev->sysfsdev) { in vfio_base_device_init()
534 vbasedev->name = g_path_get_basename(vbasedev->sysfsdev); in vfio_base_device_init()
541 vbasedev->sysfsdev = g_strdup_printf("/sys/bus/platform/devices/%s", in vfio_base_device_init()
580 trace_vfio_platform_realize(vbasedev->sysfsdev ? in vfio_platform_realize()
581 vbasedev->sysfsdev : vbasedev->name, in vfio_platform_realize()
594 path = g_strdup_printf("%s/of_node/compatible", vbasedev->sysfsdev); in vfio_platform_realize()
634 DEFINE_PROP_STRING("sysfsdev", VFIOPlatformDevice, vbasedev.sysfsdev),
H A Dhelpers.c613 if (stat(vbasedev->sysfsdev, &st) < 0) { in vfio_device_get_name()
615 error_prepend(errp, VFIO_MSG_PREFIX, vbasedev->sysfsdev); in vfio_device_get_name()
620 vbasedev->name = g_path_get_basename(vbasedev->sysfsdev); in vfio_device_get_name()
H A Dap.c195 DEFINE_PROP_STRING("sysfsdev", VFIOAPDevice, vdev.sysfsdev),
H A Dccw.c585 cdc->realize(cdev, vcdev->vdev.sysfsdev, &err); in vfio_ccw_realize()
661 DEFINE_PROP_STRING("sysfsdev", VFIOCCWDevice, vdev.sysfsdev),
H A Diommufd.c309 devfd = iommufd_cdev_getfd(vbasedev->sysfsdev, errp); in iommufd_cdev_attach()
H A Dpci.c2973 if (vbasedev->fd < 0 && !vbasedev->sysfsdev) { in vfio_realize()
2984 vbasedev->sysfsdev = in vfio_realize()
3000 tmp = g_strdup_printf("%s/subsystem", vbasedev->sysfsdev); in vfio_realize()
3352 DEFINE_PROP_STRING("sysfsdev", VFIOPCIDevice, vbasedev.sysfsdev),
H A Dcontainer.c881 tmp = g_strdup_printf("%s/iommu_group", vbasedev->sysfsdev); in vfio_device_groupid()
/qemu/include/hw/s390x/
H A Ds390-ccw.h34 void (*realize)(S390CCWDevice *dev, char *sysfsdev, Error **errp);
/qemu/docs/system/s390x/
H A Dvfio-ccw.rst60 -device vfio-ccw,devno=fe.0.1234,sysfsdev=\
H A Dvfio-ap.rst481 -device vfio_ap,sysfsdev=$path-to-mdev
483 The sysfsdev parameter specifies the path to the mediated matrix device.
532 vfio-ap device (``-device vfio-ap,sysfsdev=$path``) is configured
609 (qemu) device_add vfio-ap,sysfsdev="$path-to-mdev",id="$id"
865 …/usr/bin/qemu-system-s390x ... -cpu host,ap=on,apqci=on,apft=on -device vfio-ap,sysfsdev=/sys/devi…
869 …/usr/bin/qemu-system-s390x ... -cpu host,ap=on,apqci=on,apft=on -device vfio-ap,sysfsdev=/sys/devi…
873 …/usr/bin/qemu-system-s390x ... -cpu host,ap=on,apqci=on,apft=on -device vfio-ap,sysfsdev=/sys/devi…
/qemu/include/hw/vfio/
H A Dvfio-common.h108 char *sysfsdev; member
/qemu/docs/devel/
H A Dvfio-iommufd.rst156 ``vfio-pci`` device checks sysfsdev property to decide if backend is a mdev.