X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/1b89437671ba572a199dd4ff5766ba82720cdf03..be2d18ff8c8ee4ccf6b713010f8999e7613dcdf5:/src/plugins/vm/VmLiveMigration.cpp?ds=sidebyside diff --git a/src/plugins/vm/VmLiveMigration.cpp b/src/plugins/vm/VmLiveMigration.cpp index aebcd31228..87195a54b6 100644 --- a/src/plugins/vm/VmLiveMigration.cpp +++ b/src/plugins/vm/VmLiveMigration.cpp @@ -59,7 +59,7 @@ void MigrationRx::operator()() counter++; // start link - container_t msg = instr::Container::by_name(vm_->get_name()); + auto* msg = instr::Container::by_name(vm_->get_name()); instr::Container::get_root()->get_link("VM_LINK")->start_event(msg, "M", key); // destroy existing container of this vm @@ -180,7 +180,7 @@ void MigrationTx::operator()() XBT_CRITICAL("bug"); } catch (const Exception&) { // hostfailure (if you want to know whether this is the SRC or the DST check directly in send_migration_data code) - // Stop the dirty page tracking an return (there is no memory space to release) + // Stop the dirty page tracking and return (there is no memory space to release) sg_vm_stop_dirty_page_tracking(vm_); return; } @@ -219,7 +219,7 @@ void MigrationTx::operator()() } catch (const Exception&) { // hostfailure (if you want to know whether this is the SRC or the DST check directly in send_migration_data // code) - // Stop the dirty page tracking an return (there is no memory space to release) + // Stop the dirty page tracking and return (there is no memory space to release) sg_vm_stop_dirty_page_tracking(vm_); return; } @@ -262,7 +262,7 @@ void MigrationTx::operator()() sendMigrationData(remaining_size, 3, 0, mig_speed, -1); } catch (const Exception&) { // hostfailure (if you want to know whether this is the SRC or the DST check directly in send_migration_data code) - // Stop the dirty page tracking an return (there is no memory space to release) + // Stop the dirty page tracking and return (there is no memory space to release) vm_->resume(); return; }