A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix minor issues in the management of Java Exceptions + comment process cancelled...
[simgrid.git]
/
src
/
msg
/
msg_vm.c
diff --git
a/src/msg/msg_vm.c
b/src/msg/msg_vm.c
index
4539a93
..
bc400f4
100644
(file)
--- a/
src/msg/msg_vm.c
+++ b/
src/msg/msg_vm.c
@@
-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);
simcall_vm_set_affinity(ms->vm, ms->src_pm, 0);
+ /* Update the vm location */
simcall_vm_migrate(ms->vm, ms->dst_pm);
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 */
simcall_vm_resume(ms->vm);
/* install the affinity setting of the VM on the destination pm */