Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
changing this line back, as it breaks half a dozen of tests
[simgrid.git] / src / surf / vm_hl13.cpp
index acb25b8..bafa044 100644 (file)
@@ -245,6 +245,8 @@ VMHL13::VMHL13(VMModel *model, const char* name, xbt_dict_t props,
       NULL,                       // host->state_trace,
       NULL);                       // host->properties,
 
+       p_cpu->setVirtual(sub_cpu);
+
   /* We create cpu_action corresponding to a VM process on the host operating system. */
   /* FIXME: TODO: we have to periodically input GUESTOS_NOISE to the system? how ? */
   // vm_ws->cpu_action = surf_cpu_model_pm->extension.cpu.execute(host_PM, GUESTOS_NOISE);