Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
change way disks are managed in the XML parsing
[simgrid.git] / src / bindings / lua / lua_platf.cpp
index 865f501..d569454 100644 (file)
@@ -210,7 +210,8 @@ int console_add_host(lua_State *L) {
       host.state_trace = simgrid::kernel::profile::Profile::from_file(filename);
   lua_pop(L, 1);
 
-  sg_platf_new_host(&host);
+  sg_platf_new_host_begin(&host);
+  sg_platf_new_host_seal(0);
 
   return 0;
 }