From: Martin Quinson Date: Wed, 31 May 2017 08:50:47 +0000 (+0200) Subject: cosmetics X-Git-Tag: v3.16~174 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/5c38e05edaea94056953229fbe8b2f3349813c4b cosmetics --- diff --git a/src/plugins/vm/s4u_VirtualMachine.cpp b/src/plugins/vm/s4u_VirtualMachine.cpp index 261f63a68b..3400a3b623 100644 --- a/src/plugins/vm/s4u_VirtualMachine.cpp +++ b/src/plugins/vm/s4u_VirtualMachine.cpp @@ -13,11 +13,11 @@ XBT_LOG_NEW_DEFAULT_CATEGORY(s4u_vm, "S4U virtual machines"); namespace simgrid { namespace s4u { -VirtualMachine::VirtualMachine(const char* name, s4u::Host* pm) : Host(name) +VirtualMachine::VirtualMachine(const char* name, s4u::Host* pm) + : Host(name), pimpl_vm_(new vm::VirtualMachineImpl(this, pm)) { XBT_DEBUG("Create VM %s", name); - pimpl_vm_ = new vm::VirtualMachineImpl(this, pm); /* Currently, a VM uses the network resource of its physical host */ pimpl_netpoint = pm->pimpl_netpoint; // Create a VCPU for this VM diff --git a/src/surf/HostImpl.cpp b/src/surf/HostImpl.cpp index b8ca1e8dd9..5c9302a19f 100644 --- a/src/surf/HostImpl.cpp +++ b/src/surf/HostImpl.cpp @@ -38,7 +38,6 @@ void HostModel::adjustWeightOfDummyCpuActions() /* some tasks exist on this VM */ XBT_DEBUG("set the weight of the dummy CPU action on PM to 1"); - /* FIXME: we should use lmm_update_variable_weight() ? */ /* FIXME: If we assign 1.05 and 0.05, the system makes apparently wrong values. */ ws_vm->pimpl_vm_->action_->setPriority(1);