Home
last modified time | relevance | path

Searched refs:sysfs_path (Results 1 – 3 of 3) sorted by relevance

/packages/modules/Virtualization/virtualizationservice/vfio_handler/src/
Daidl.rs38 sysfs_path: String, field
46 Ok(self.sysfs_path.clone()) in getSysfsPath()
56 unbind_device(Path::new(&self.sysfs_path)).unwrap_or_else(|e| { in drop()
57 error!("did not restore {} driver: {}", self.sysfs_path, e); in drop()
63 fn new_binder(sysfs_path: String, dtbo_label: String) -> Strong<dyn IBoundDevice> { in new_binder()
64 BnBoundDevice::new_binder(BoundDevice { sysfs_path, dtbo_label }, BinderFeatures::default()) in new_binder()
/packages/modules/Virtualization/virtualizationservice/src/
Daidl.rs417 .map(|x| AssignableDevice { node: x.sysfs_path, dtbo_label: x.dtbo_label }) in getAssignableDevices()
431 if devices.contains(&x.sysfs_path) { in bindDevicesToVfioDriver()
432 Some(VfioDev { sysfsPath: x.sysfs_path, dtboLabel: x.dtbo_label }) in bindDevicesToVfioDriver()
434 warn!("device {} is not assignable", x.sysfs_path); in bindDevicesToVfioDriver()
580 sysfs_path: String, field
611 if device_set.contains(&device.sysfs_path) { in get_assignable_devices()
616 if !Path::new(&device.sysfs_path).exists() { in get_assignable_devices()
621 device_set.insert(device.sysfs_path.clone()); in get_assignable_devices()
/packages/modules/Virtualization/docs/
Ddevice_assignment.md196 <sysfs_path>/sys/bus/platform/devices/16d00000.light</sysfs_path>
205 * `<sysfs_path>`: Sysfs path of the device in host, used to bind to the VFIO
232 Specify `--devices ${sysfs_path}` when booting VM. The parameter can be repeated