search for: sysfs_pciback_driver

Displaying 2 results from an estimated 2 matches for "sysfs_pciback_driver".

2012 May 15
5
[PATCH 0 of 4 v3] Add commands to automatically prep devices for pass-through
Add commands to automatically prep devices for pass-through The current method for passing through devices requires users to either modify cryptic Linux boot parameters and reboot, or do a lot of manual reads and writes into sysfs nodes. This set of patches introduces commands to make this easier. It expands on the concept of "assignable" (from the list_assignable_devices command).
2010 Aug 12
0
[PATCH, v2]: xl: Implement per-API-call garbage-collection lifetime
...d, &num_assigned); + rc = get_all_assigned_devices(&gc, &assigned, &num_assigned); if ( rc ) return rc; @@ -505,7 +509,7 @@ int libxl_device_pci_list_assignable(lib }else{ XL_LOG_ERRNO(ctx, XL_LOG_ERROR, "Couldn''t open %s", SYSFS_PCIBACK_DRIVER); } - free(assigned); + libxl_free_all(&gc); return ERROR_FAIL; } @@ -530,8 +534,8 @@ int libxl_device_pci_list_assignable(lib } closedir(dir); - free(assigned); *list = pcidevs; + libxl_free_all(&gc); return 0; } @@ -540...