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
Add hosts test before migrating a VM - adrien
[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
b858c49
..
ac8a512
100644
(file)
--- a/
src/bindings/java/org/simgrid/msg/VM.java
+++ b/
src/bindings/java/org/simgrid/msg/VM.java
@@
-158,7
+158,7
@@
public class VM extends Host{
try {
this.internalmig(destination);
} catch (Exception e){
try {
this.internalmig(destination);
} catch (Exception e){
- Msg.info("
an exception occurs during the migration of VM "+this.getName()
);
+ Msg.info("
Migration of VM "+this.getName()+" to "+destination.getName()+" is impossible ("+e.getMessage()+")"
);
throw new HostFailureException();
}
// If the migration correcly returned, then we should change the currentHost value.
throw new HostFailureException();
}
// If the migration correcly returned, then we should change the currentHost value.