X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/67cdaf0e24ec5cc143e2cb6b593a1d496760077f..0586543235cb7550a5952d01af0d4f656670c622:/src/simix/smx_vm.cpp diff --git a/src/simix/smx_vm.cpp b/src/simix/smx_vm.cpp index 515fb1ffd9..e11f0777d4 100644 --- a/src/simix/smx_vm.cpp +++ b/src/simix/smx_vm.cpp @@ -54,20 +54,6 @@ void SIMIX_vm_start(sg_host_t vm) static_cast(vm)->pimpl_vm_->setState(SURF_VM_STATE_RUNNING); } -/** - * @brief Function to migrate a SIMIX VM host. - * - * @param host the vm host to migrate (a sg_host_t) - */ -void SIMIX_vm_migrate(sg_host_t vm, sg_host_t dst_pm) -{ - /* precopy migration makes the VM temporally paused */ - xbt_assert(static_cast(vm)->pimpl_vm_->getState() == SURF_VM_STATE_SUSPENDED); - - /* jump to vm_ws_xigrate(). this will update the vm location. */ - static_cast(vm)->pimpl_vm_->migrate(dst_pm); -} - /** * @brief Function to suspend a SIMIX VM host. This function stops the execution of the * VM. All the processes on this VM will pause. The state of the VM is