if (TRACE_msg_vm_is_enabled()) {
container_t container = simgrid::instr::Container::byName(vm->getName());
- PJ_container_remove_from_parent(container);
+ container->removeFromParent();
delete container;
}
}
// destroy existing container of this vm
container_t existing_container = simgrid::instr::Container::byName(vm->getName());
- PJ_container_remove_from_parent(existing_container);
+ existing_container->removeFromParent();
delete existing_container;
// create new container on the new_host location