/*
* JNI interface to virtual machine in Simgrid
*
- * Copyright 2006-2012 The SimGrid Team.
+ * Copyright (c) 2006-2013. The SimGrid Team.
* All right reserved.
*
* This program is free software; you can redistribute
private static VM[] vms=null;
private Host currentHost;
- private int dpIntensity = 0 ;
/* Constructors / destructors */
/**
super();
super.name = name;
this.currentHost = host;
- this.dpIntensity = dpIntensity;
create(host, name, nCore, ramSize, netCap, diskPath, diskSize, migNetSpeed, dpIntensity);
VM.addVM(this);
}
/* JNI / Native code */
+
/* get/set property methods are inherited from the Host class. */
/** Returns whether the given VM is currently suspended
* (pre-copy is implemented)
*/
public void migrate(Host destination){
- Msg.info("Start migration of VM "+this.getName()+" to node "+destination.getName());
- Msg.info(" dpIntensity:"+this.dpIntensity);
-
this.internalmig(destination);
- Msg.info("End of migration of VM "+this.getName()+" to node "+destination.getName());
+ this.currentHost = destination;
}
/** Immediately suspend the execution of all processes within the given VM