X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/c0950ef9f902ba40a2c05ca8748acecb3085e752..42cfbbdfaf9122139df7a1b9dda96dd6b689c563:/src/simix/smx_vm.cpp diff --git a/src/simix/smx_vm.cpp b/src/simix/smx_vm.cpp index 0eb77b56b6..f6d3396b46 100644 --- a/src/simix/smx_vm.cpp +++ b/src/simix/smx_vm.cpp @@ -92,27 +92,6 @@ void SIMIX_vm_migrate(sg_host_t vm, sg_host_t dst_pm) static_cast(vm)->pimpl_vm_->migrate(dst_pm); } -/** - * @brief Encompassing simcall to prevent the removal of the src or the dst node at the end of a VM migration - * The simcall actually invokes the following calls: - * simcall_vm_migrate(vm, dst_pm); - * simcall_vm_resume(vm); - * - * It is called at the end of the migration_rx_fun function from msg/msg_vm.c - * - * @param vm VM to migrate - * @param src_pm Source physical host - * @param dst_pmt Destination physical host - */ -void SIMIX_vm_migratefrom_resumeto(sg_host_t vm, sg_host_t src_pm, sg_host_t dst_pm) -{ - /* Update the vm location */ - SIMIX_vm_migrate(vm, dst_pm); - - /* Resume the VM */ - SIMIX_vm_resume(vm); -} - /** * @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