Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
fix minor issues in the management of Java Exceptions + comment process cancelled...
[simgrid.git] / src / msg / msg_vm.c
index 4539a93..bc400f4 100644 (file)
@@ -391,10 +391,13 @@ static int migration_rx_fun(int argc, char *argv[])
   }
 
 
-  /* deinstall the current affinity setting */
+  /* deinstall the current affinity setting for the CPU */
   simcall_vm_set_affinity(ms->vm, ms->src_pm, 0);
 
+  /* Update the vm location */
   simcall_vm_migrate(ms->vm, ms->dst_pm);
+  
+  /* Resume the VM */
   simcall_vm_resume(ms->vm);
 
   /* install the affinity setting of the VM on the destination pm */