- HostL07 *host = new HostL07(this, name, NULL, netElm, cpu);
-
- surf_callback_emit(hostCreatedCallbacks, host);
- simgrid::Host::by_name_or_create(name)->set_facet(SURF_HOST_LEVEL, host);
-
- return host;
+ return new HostL07(this, name, props, netElm, cpu);