Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
[mc] Add a message to explain no property violation is found
[simgrid.git] / src / simix / smx_vm.c
index 9bf0d6b..213c165 100644 (file)
@@ -132,13 +132,14 @@ void SIMIX_vm_migrate(smx_host_t ind_vm, smx_host_t ind_dst_pm)
 void SIMIX_vm_migratefrom_resumeto(smx_host_t vm, smx_host_t src_pm, smx_host_t dst_pm)
 {
   /* deinstall the current affinity setting for the CPU */
-  SIMIX _vm_set_affinity(vm, src_pm, 0);
+  SIMIX_vm_set_affinity(vm, src_pm, 0);
 
   /* Update the vm location */
   SIMIX_vm_migrate(vm, dst_pm);
  
   /* Resume the VM */
-  SIMIX_vm_resume(vm);
+  smx_process_t self = SIMIX_process_self(); 
+  SIMIX_vm_resume(vm, self->simcall.issuer);
 } 
 
 /**