Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
VM: don't take ignored parameter that may fool the users
[simgrid.git] / examples / java / cloud / migration / XVM.java
index eb3994a..756b753 100644 (file)
@@ -19,11 +19,10 @@ public class XVM extends VM {
 
   private Daemon daemon;
 
-  public XVM(Host host, String name,
-    int nbCores, int ramsize, int netBW, String diskPath, int diskSize, int migNetBW, int dpIntensity){
-    super(host, name, nbCores, ramsize, netBW, diskPath, diskSize, (int)(migNetBW*0.9), dpIntensity);
+  public XVM(Host host, String name, int ramsize, int migNetBW, int dpIntensity){
+    super(host, name, ramsize, (int)(migNetBW*0.9), dpIntensity);
     this.currentLoad = 0;
-    this. dpIntensity = dpIntensity ;
+    this.dpIntensity = dpIntensity ;
     this.ramsize= ramsize;
     this.daemon = new Daemon(this, 100);
   }