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 a typo in the java-cloud example and add one TODO related to the migration invoca...
[simgrid.git]
/
src
/
bindings
/
java
/
org
/
simgrid
/
msg
/
VM.java
diff --git
a/src/bindings/java/org/simgrid/msg/VM.java
b/src/bindings/java/org/simgrid/msg/VM.java
index
f77a4af
..
4454960
100644
(file)
--- a/
src/bindings/java/org/simgrid/msg/VM.java
+++ b/
src/bindings/java/org/simgrid/msg/VM.java
@@
-155,6
+155,8
@@
public class VM extends Host{
*/
public void migrate(Host destination){
this.internalmig(destination);
*/
public void migrate(Host destination){
this.internalmig(destination);
+ // TODO we should test whether the migration has been correctly finalized.
+ // If and only if it is ok, then we should change the currentHost value.
this.currentHost = destination;
}
this.currentHost = destination;
}