Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Add hosts test before migrating a VM - adrien
[simgrid.git] / src / bindings / java / org / simgrid / msg / VM.java
index b858c49..ac8a512 100644 (file)
@@ -158,7 +158,7 @@ public class VM extends Host{
                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.