Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
get rid of the vm_params struct
[simgrid.git] / examples / s4u / cloud-simple / s4u-cloud-simple.cpp
index 61f0bd7..4f6cca5 100644 (file)
@@ -193,9 +193,6 @@ static void master_main()
            " network one");
   XBT_INFO("### Relocate VM0 between PM0 and PM1");
   vm0 = new simgrid::s4u::VirtualMachine("VM0", pm0, 1);
-  s_vm_params_t params;
-  memset(&params, 0, sizeof(params));
-  vm0->setParameters(&params);
   vm0->setRamsize(1L * 1024 * 1024 * 1024); // 1GiB
 
   vm0->start();