Msg.info("Migrate everyone to "+hosts[3].getName());
for (int i = 0; i < vms.size(); i++) {
Msg.info("Migrate "+vms.get(i).getName()+"from"+hosts[i+1].getName()+"to "+hosts[3].getName());
- vms.get(i).migrate(hosts[2]);
+ vms.get(i).migrate(hosts[3]);
}
*/
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;
}