Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Move some content out of HostImpl (into VirtualMachineImpl)
[simgrid.git] / src / surf / HostImpl.cpp
index 3fd06eb..f745663 100644 (file)
@@ -101,7 +101,6 @@ Action* HostModel::executeParallelTask(int host_nb, simgrid::s4u::Host** host_li
 HostImpl::HostImpl(s4u::Host* host, xbt_dynar_t storage) : PropertyHolder(nullptr), storage_(storage), piface_(host)
 {
   piface_->pimpl_ = this;
-  params_.ramsize = 0;
 }
 
 /** @brief use destroy() instead of this destructor */
@@ -329,15 +328,4 @@ xbt_dynar_t HostImpl::getVms()
   return dyn;
 }
 
-void HostImpl::getParams(vm_params_t params)
-{
-  *params = params_;
-}
-
-void HostImpl::setParams(vm_params_t params)
-{
-  /* may check something here. */
-  params_ = *params;
-}
-
 }}