- return workstation;
-}
-
-void create_workstations(void)
-{
- xbt_lib_cursor_t cursor = NULL;
- char *name = NULL;
- void **cpu = NULL;
- void *storage = NULL;
- xbt_lib_foreach(host_lib, cursor, name, cpu) {
- if(cpu[SURF_CPU_LEVEL])
- // Need to find storage attached to workstation
- workstation_new(name, cpu[SURF_CPU_LEVEL],storage);
- }
+ xbt_lib_set(host_lib, host->id, SURF_WKS_LEVEL, workstation);